LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #3   Report Post  
Posted to microsoft.public.excel.misc
Chip1035
 
Posts: n/a
Default If Statement with Sum

Thank you... It worked...
--
-Chip
=)


"via135" wrote:


hi!

=IF(B1<A1,"",IF(B1A1,MIN(B1-A1,C1),""))


-via135





Chip1035 Wrote:
I did not know how to search for this, so my apologies if it has been
posted
before.
A1 | B1 | C1 | D1
$20 $35 $5 $5
I have in A1, $20 allowed, B1 has $35 used, C1 is $5 left over from
previous
month
What I want D1 to have is the amount over what was allowed in A1 but
not to
exceed what is in C1. Also, if B1 does not exceed A1, then D1 should
be
blank.
So far I came up with this
IF(G6E6,G6-E6,"") which would get me 15, which is over C1. If it is
over
C1, I want it to equal C1. I tried this:
IF(B1A1,(SUM(B1-A1)C1,C1),"") but got an #VALUE! error.
Thank you for any and all assistance, in advance.

--
-Chip
=)



--
via135
------------------------------------------------------------------------
via135's Profile: http://www.excelforum.com/member.php...o&userid=26725
View this thread: http://www.excelforum.com/showthread...hreadid=522308


 
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
SET statement tutorial Daminc Excel Discussion (Misc queries) 13 January 17th 06 04:47 PM
Long IF Statement rmitchell87 Excel Discussion (Misc queries) 2 October 2nd 05 03:50 AM
If statement Matt Montagliano Excel Discussion (Misc queries) 1 September 8th 05 08:47 PM
Do I need a sumif or sum of a vlookup formula? PeterB Excel Worksheet Functions 0 June 1st 05 12:23 PM
IF Statement Brent New Users to Excel 3 April 29th 05 04:24 PM


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