Help with IF Function resulting in #value

cmccambridge

New Member
Joined
Mar 26, 2013
Messages
11
Can anyone help me format this formula so that it doesn't show #value when the cells it references are blank

=IF(H147=1,G147*B109,G147*B110)

It works fine if the cells referenced have values in them


Help!


Thanks!!!
 

Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"
Can anyone help me format this formula so that it doesn't show #value when the cells it references are blank

=IF(H147=1,G147*B109,G147*B110)

It works fine if the cells referenced have values in them


Help!


Thanks!!!

That works fine for me even if none of those cells have any value in them.

Do you have text in one of those cells?

Best regards
Richard
 
Upvote 0
Yes, works for me as well if cells are "Blank".
The formula simply treats the blanks as 0 and returns 0.

Are those cells populated by a formula that is returning "" ?
That will cause an error.

What do you want to actually happen when any of these cells(or all of them) are blank?
 
Upvote 0
OK, is G147 the only cell that is a formula like that? The other 3 are TRUE blank empty cells ?
=IF(IF(G147="","",IF(H147=1,G147*B109,G147*B110))
 
Upvote 0
Wow, don't know what happened there...
Should be
=IF(G147="","",IF(H147=1,G147*B109,G147*B110))
 
Upvote 0

Forum statistics

Threads
1,207,402
Messages
6,078,268
Members
446,324
Latest member
JKamlet

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top