Ignore Blank Cells

djaldente

New Member
Joined
Mar 21, 2017
Messages
27
Office Version
  1. 2016
Platform
  1. Windows
Hi,

Can someone help me with this formula please.. If any of the I cells (I18, I19, I20) are blank I need them not to be counted.

=(C13/(C13/I18+C13/I19+C13/I20)*K6*K18)+(C13/(C13/I18+C13/I19+C13/I20)*K6*K19)+(C13/(C13/I18+C13/I19+C13/I20)*K6*K20)

Cheers
hGbmqm
 

Excel Facts

What is the shortcut key for Format Selection?
Ctrl+1 (the number one) will open the Format dialog for whatever is selected.
Charlie

Another option:

=HARMEAN(I18:I20)/COUNT(I18:I20)*K6*(K18+K19+K20)


Did you already confirm that C13 is doing nothing there?
Try the following: with a formula you trust change the value of C13 to several different values and see that the result does not change.
 
Upvote 0

Forum statistics

Threads
1,223,792
Messages
6,174,612
Members
452,574
Latest member
hang_and_bang

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