LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #12   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 22,906
Default conditional formula

You keep saying "subtract from D5" or "subtract from E5" which sounds like you
want those values reduced.

I don't understand that part.

Sounds like you want D5 or E5 to change without changing.

See Roger's answer for using a couple of helper cells.

Maybe that's what you need.


Gord


On Thu, 5 Jul 2007 10:04:02 -0700, Craigallen
wrote:

I don't want the values in D5 or E5 to change; what I would like is a formula
in A2 that looks at D5 first and subtracts from D5 as much as needed to cover
the amount in A1, but if there's not enough, the formula in A2 would then
look at E5 for the balance. So let's say A1 has $300 in it; and let's say
there is $500 in D5; the formula would look at D5 and see that there is
enough in D5, so it would simply subtract $300 from D5, leaving a balance of
$200. But, if there was $550 in A1, then the formula would look at D5 and
see that there was only $500 there, so it would subtract the $500, and then
look to E5 for the other $50. I realize I may need formulas in more than
just A2 in this example to accomplish this. So, is there a combination of
formulas that would work?


 
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
Formula, Conditional Formula Needed Karl Excel Discussion (Misc queries) 12 June 23rd 07 04:12 AM
conditional formula Karen Hunter Excel Discussion (Misc queries) 4 June 4th 07 08:25 PM
conditional formula Rose Davis Excel Worksheet Functions 2 October 21st 06 12:40 AM
Conditional Formula to indicate Formula in cell SteveW New Users to Excel 9 August 2nd 06 01:12 AM
Help with a conditional formula Tracey Excel Worksheet Functions 5 June 29th 05 04:20 PM


All times are GMT +1. The time now is 08:15 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"