Return Blank Value IF...

jarett

Board Regular
Joined
Apr 12, 2021
Messages
179
Office Version
  1. 365
  2. 2016
Platform
  1. Windows
I am calculating a percentage between two columns D & G. I want the return value to be blank if column E is blank. The reason column E would be blank is because we didnt count that item so I dont need a percentage.
IM_WH_COUNT.xlsx
ABCDEFGH
1ItemCodeItemCodeDescWarehouseCodeQuantityOnHandQty on ShelfWIP AdditionsUpdated QTYPercent Difference
14110012552-BLUE-4030MNS FR M4 RLX BSC BOOT CUT JEA0005545954-2%
14310012552-BLUE-4032MNS FR M4 RLX BSC BOOT CUT JEA00063451358-8%
14510012552-BLUE-4034MNS FR M4 RLX BSC BOOT CUT JEA0005443447-13%
14710012552-BLUE-4036MNS FR M4 RLX BSC BOOT CUT JEA00063615665%
14910012552-BLUE-4038MNS FR M4 RLX BSC BOOT CUT JEA00000#DIV/0!
15010012552-BLUE-4230MNS FR M4 RLX BSC BOOT CUT JEA000390-100%
15110012552-BLUE-4232MNS FR M4 RLX BSC BOOT CUT JEA000440-100%
15210012552-BLUE-4234MNS FR M4 RLX BSC BOOT CUT JEA000390-100%
15310012552-BLUE-4236MNS FR M4 RLX BSC BOOT CUT JEA000450-100%
15410012552-BLUE-4238MNS FR M4 RLX BSC BOOT CUT JEA00060-100%
15510012552-BLUE-4430MNS FR M4 RLX BSC BOOT CUT JEA000400-100%
15610012552-BLUE-4432MNS FR M4 RLX BSC BOOT CUT JEA000510-100%
15810012552-BLUE-4434MNS FR M4 RLX BSC BOOT CUT JEA000470-100%
15910012552-BLUE-4436MNS FR M4 RLX BSC BOOT CUT JEA000380-100%
16010012552-BLUE-4438MNS FR M4 RLX BSC BOOT CUT JEA00000#DIV/0!
16110012552-BLUE-4630MNS FR M4 RLX BSC BOOT CUT JEA000300-100%
16210012552-BLUE-4632MNS FR M4 RLX BSC BOOT CUT JEA000420-100%
16310012552-BLUE-4634MNS FR M4 RLX BSC BOOT CUT JEA000410-100%
16410012552-BLUE-4830MNS FR M4 RLX BSC BOOT CUT JEA00010-100%
16510012552-BLUE-4832MNS FR M4 RLX BSC BOOT CUT JEA00000#DIV/0!
16610012552-BLUE-4834MNS FR M4 RLX BSC BOOT CUT JEA00050-100%
IM_WH_COUNT
Cell Formulas
RangeFormula
G141,G143,G145,G147,G149:G156,G158:G166G141=[@[Qty on Shelf]]+[@[WIP Additions]]
H141,H143,H145,H147,H149:H156,H158:H166H141=([@[Updated QTY]]-[@QuantityOnHand])/[@QuantityOnHand]
 

Excel Facts

Highlight Duplicates
Home, Conditional Formatting, Highlight Cells, Duplicate records, OK to add pink formatting to any duplicates in selected range.
Excel Formula:
=IF([@[Qty on Shelf]]="","",([@[Updated QTY]]-[@QuantityOnHand])/[@QuantityOnHand])

should do it.
 
Upvote 0
Solution
I am trying to keep a running average of my percentages but I think the negative percentages are going to throw the average off, should I just take the calculations of the entire columns and create one formula or should I convert the negatives to a positive % number?
 
Upvote 0

Forum statistics

Threads
1,223,895
Messages
6,175,257
Members
452,625
Latest member
saadat28

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