How can I act on an empty cell.

Romano_odK

Active Member
Joined
Jun 4, 2020
Messages
379
Office Version
  1. 365
Platform
  1. Windows
Good afternoon,

In this formula below I would like to add the following. When M8 = empty place the value from from N8 in this cell. The cell where this formula is in is L8. The simple thing here is that I can't figure out what I how I can refer "empty". I tried several things like "", but that doesn't work.


Excel Formula:
=IFERROR(ROUND(IFS(M8>0;N8*M8+N8);2);"")

Thank you for your time.

Romano
 

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.
How about
Excel Formula:
=IF(M8="";"";IFERROR(ROUND(IF(M8>0;N8*M8+N8;0);2);""))
 
Upvote 0
Solution
How about
Excel Formula:
=IF(M8="";"";IFERROR(ROUND(IF(M8>0;N8*M8+N8;0);2);""))
This is exactly what I was looking for. So a different approach with IF and not IFS. Thank you.
 
Upvote 0
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,215,824
Messages
6,127,077
Members
449,358
Latest member
Snowinx

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