#1
|
|||
|
|||
Excel Formula
Hi
I have been wrecking my brains to try and achieve this. I have a formula at present which does a calculation if a cell is not blank but I also want to cap the calculation even the calculation is greater than another cell. =IF(S26 = "", "", (S26*Q26)) - (current formula) any ideas? |
#2
|
||||
|
||||
Quote:
Could you explain this please?
__________________
Did you know you can thank someone who helped you? Click on the tiny scale in the right upper hand corner of your helper's post |
#3
|
|||
|
|||
IF(S26 = "", "", (S26*Q26) IF T26 > J26 = J26) didn't work |
#4
|
|||
|
|||
what I mean if cell S26 is blank return blank of if not blank proceed with calculation but if calculation equals to greater then cell J26 just cap amount to that of J26
|
#5
|
||||
|
||||
Like this?
=IF(S26 = "", "",MIN(S26*Q26,J26))
__________________
Did you know you can thank someone who helped you? Click on the tiny scale in the right upper hand corner of your helper's post |
#6
|
|||
|
|||
worked like a dream thanks so much!
|
#7
|
||||
|
||||
You're welcome
And BTW please do not quote entire posts unnecessarily. Thx
__________________
Did you know you can thank someone who helped you? Click on the tiny scale in the right upper hand corner of your helper's post |
#8
|
||||
|
||||
It's always best to start a new thread when you have a new question, eventually adding links to any relevant thread.
This will give you a better chance to get an answer. I created a new thread for you https://www.msofficeforums.com/excel...tml#post131608
__________________
Did you know you can thank someone who helped you? Click on the tiny scale in the right upper hand corner of your helper's post |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Excel Formula | ctruggles | Excel | 1 | 12-05-2016 12:12 PM |
Excel Formula Bar | powrus1 | Excel | 4 | 07-19-2016 09:19 AM |
excel formula | jcaal50 | Excel | 6 | 05-16-2014 04:01 PM |
Help with excel formula | GoldenSlumbers | Excel | 2 | 12-13-2012 03:32 AM |
excel help Formula | sellspeed | Excel | 15 | 03-10-2010 10:57 AM |