[Excel] arguments, functions and #Div/0!

Eawyne

New Member
Joined
Jun 28, 2021
Messages
43
Office Version
  1. 2013
Platform
  1. Windows
Hi all ?

so I have this formula in cell I27 :

Excel Formula:
=IFERROR((H25-K25)/H25*100;0)

The values in cells H25 and K25 need to be entered manually by the user ; so cell I27 of course updates each time one cell is filled, but the result isn't correct until both are. I've tried figuring out a formula to have cell I27 only showing a result when both cells are containing data, but I haven't been able to do so. I've tried with IF, IFCOUNT, IFCOUNTS... the thing is that I don't have a proper grasp of simple formulas (which I'm trying to sort out as well - by the way, if anyone had some links to understand how to use ; : , properly with cells ?) so I'm struggling to come up with a solution.

Thanks for any help you may provide !
 

Excel Facts

Enter current date or time
Ctrl+: enters current time. Ctrl+; enters current date. Use Ctrl+: Ctrl+; Enter for current date & time.
You could use:

Excel Formula:
=IF(COUNT(H25;K25)=2;IFERROR((H25-K25)/H25*100;0);"")
 
Upvote 0
Solution
Holy cannoli, it works ! I completely understand your solution, but I would never've found it on my own I believe. Thanks a lot.
 
Upvote 0

Forum statistics

Threads
1,213,561
Messages
6,114,312
Members
448,564
Latest member
ED38

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