#VALUE! returned, but want cell to be blank if source cell is blank

stully

New Member
Joined
Oct 30, 2017
Messages
14
Good morning!

I want the cell to remain blank if there is nothing in the cell that I am referencing. Instead, it returns the #VALUE ! to the cell. Here is my formula:
=IF(P3="WAIVE",0,IF("EE Value",$R$130,IF(P3="EE Select",$P$130,IF(P3="ES Value",$R$131,IF(P3="EC Value",$R$132,IF(P3="EF Value",$R$133,IF(P3="ES Select",$P$131,IF(P3="EC Select",$P$132,IF(P3="EF Select",$P$133)))))))))
I am not sure what I am missing in order for the cell to return nothing in P3 is blank. Any help would be greatly appreciated!

Thank you!
 

Excel Facts

Copy formula down without changing references
If you have =SUM(F2:F49) in F50; type Alt+' in F51 to copy =SUM(F2:F49) to F51, leaving the formula in edit mode. Change SUM to COUNT.
Try
Code:
=IF(P3="","",IF(P3="WAIVE",0,IF("EE Value",$R$130,IF(P3="EE Select",$P$130,IF(P3="ES Value",$R$131,IF(P3="EC Value",$R$132,IF(P3="EF Value",$R$133,IF(P3="ES Select",$P$131,IF(P3="EC Select",$P$132,IF(P3="EF Select",$P$133))))))))))
 
Upvote 0
There is an error in your formula, the second IF doesn't have a P3= before "EE Value". You're also missing a final FALSE parameter.

=IFERROR(IF(P3="WAIVE",0,IF(P3="EE Value",$R$130,IF(P3="EE Select",$P$130,IF(P3="ES Value",$R$131,IF(P3="EC Value",$R$132,IF(P3="EF Value",$R$133,IF(P3="ES Select",$P$131,IF(P3="EC Select",$P$132,IF(P3="EF Select",$P$133,""))))))))),"")
 
Last edited:
Upvote 0
Thank you very much! That worked and thank you for also noticing the error! I appreciate the help!
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

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