Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
excelrookie05
 
Posts: n/a
Default Multiple If Statements


I'm stuck big time and I'm not even sure how to explain it ... but here
goes.
I need to use a formula that takes two different people, add all their
transaction for a 30 day period, then subtract that amount from a
starting balance. There isn't
a transaction for every day of the month and when there is one, it has
to feed of
the remaining balance not the starting balance. Gosh, I hope that made
sense???

The formula I came up with is:

IF((B1="Tom"),c1-Sumd1:d31, IF((B1="Pete"),c1-Sumd1:d31))

Column A is date, column B is person, column C is starting balance,
column D is amount used, and column E is remaining balance.

Any help with be greatly appreciated.


--
excelrookie05
------------------------------------------------------------------------
excelrookie05's Profile: http://www.excelforum.com/member.php...o&userid=27204
View this thread: http://www.excelforum.com/showthread...hreadid=467191

  #2   Report Post  
Ray A
 
Posts: n/a
Default

If you are trying to add all of the amounts in column D&E that have Tom or
Pete in column B and then subtract that amount from C1 use
=SUMIF(B:B,"Tom",D:E)+SUMIF(B:B,"Pete",D:E)-C1
HTH

"excelrookie05" wrote:


I'm stuck big time and I'm not even sure how to explain it ... but here
goes.
I need to use a formula that takes two different people, add all their
transaction for a 30 day period, then subtract that amount from a
starting balance. There isn't
a transaction for every day of the month and when there is one, it has
to feed of
the remaining balance not the starting balance. Gosh, I hope that made
sense???

The formula I came up with is:

IF((B1="Tom"),c1-Sumd1:d31, IF((B1="Pete"),c1-Sumd1:d31))

Column A is date, column B is person, column C is starting balance,
column D is amount used, and column E is remaining balance.

Any help with be greatly appreciated.


--
excelrookie05
------------------------------------------------------------------------
excelrookie05's Profile: http://www.excelforum.com/member.php...o&userid=27204
View this thread: http://www.excelforum.com/showthread...hreadid=467191


  #3   Report Post  
excelrookie05
 
Posts: n/a
Default


Thank you for your input Ray A. I'll try it later this morning.


--
excelrookie05
------------------------------------------------------------------------
excelrookie05's Profile: http://www.excelforum.com/member.php...o&userid=27204
View this thread: http://www.excelforum.com/showthread...hreadid=467191

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
multiple if statements ddepasquale Excel Worksheet Functions 3 August 5th 05 09:55 PM
How to: Multiple "if" statements? Hosh New Users to Excel 2 June 29th 05 02:20 PM
Logical Function - Multiple IF statements vnsrod2000 Excel Worksheet Functions 7 February 4th 05 10:42 PM
Combining IF and multiple SUMIF statements, if A>0 & B is between Lee Excel Worksheet Functions 1 January 3rd 05 06:46 PM
multiple IF statements Nathan McElmurry Excel Worksheet Functions 1 November 18th 04 09:22 PM


All times are GMT +1. The time now is 05:52 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"