Formula errro

Zubair

Active Member
Joined
Jul 4, 2009
Messages
304
Office Version
  1. 2016
Platform
  1. Windows
Hi Experts,

What mistake I am doing in formula in cell F5, it is showing #value! instead of zero?

%.xlsx
ABCDEFGH
1LocationCost
2202220222021Actuals 22 vs planActual 22 vs Actuals 21
3ActualsPlanActualsValue%Value%
4A(3,146)(3,651)(3,000)50514%(146)-5%
5B--(800)-#VALUE!800100%
Sheet1
Cell Formulas
RangeFormula
E4:E5E4=IFERROR(+B4-C4,"")
F4:F5F4=-IFERROR(+B4/C4-1,"")
G4:G5G4=IFERROR(+B4-D4,"")
H4:H5H4=-IFERROR(+B4/D4-1,"")
Cells with Conditional Formatting
CellConditionCell FormatStop If True
F4:H5Cell Value<0textYES
F4:H5Cell Value>0textYES
E4:E5Cell Value<0textYES
E4:E5Cell Value>0textYES
 

Excel Facts

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying
Hi,
Remove the "-" sign after "="

Excel Formula:
=IFERROR(+B5/C5-1,"")
 
Upvote 0
Hi,
Remove the "-" sign after "="

Excel Formula:
=IFERROR(+B5/C5-1,"")
Hi Hrayani - Many thanks for the quick response.

I have applied as you suggested in F4 & F5 and getting the result in F4 negative which as actually a cost saving, and it should appear positive 14%?

%.xlsx
ABCDEFGH
1LocationCost
2202220222021Actuals 22 vs planActual 22 vs Actuals 21
3ActualsPlanActualsValue%Value%
4A(3,146)(3,651)(3,000)505-14%(146)-5%
5B--(800)- 800100%
Sheet1
Cell Formulas
RangeFormula
E4:E5E4=IFERROR(+B4-C4,"")
F4:F5F4=IFERROR(+B4/C4-1,"")
G4:G5G4=IFERROR(+B4-D4,"")
H4:H5H4=-IFERROR(+B4/D4-1,"")
Cells with Conditional Formatting
CellConditionCell FormatStop If True
F4:H5Cell Value<0textYES
F4:H5Cell Value>0textYES
E4:E5Cell Value<0textYES
E4:E5Cell Value>0textYES
 
Upvote 0

Forum statistics

Threads
1,223,264
Messages
6,171,081
Members
452,377
Latest member
bradfordsam

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