Link to home
Start Free TrialLog in
Avatar of Ian Bell
Ian BellFlag for United Kingdom of Great Britain and Northern Ireland

asked on

Convert MATCH Formula replace zero

Hi,

I would like a formula modified to replace zero with 99
Please refer to sheet of formula and explanation.
Many thanks
IanModify formula -no-zero.xlsx
Avatar of zorvek (Kevin Jones)
zorvek (Kevin Jones)
Flag of United States of America image

=LET(X,INDEX(DFRMDATA!$A2:$KL2,MATCH(F$1,DFRMDATA!$A$1:$KL$1,0)),IF(X=0,99,X))

Kevin
or a simple IF function will do:

=IF( INDEX(DFRMDATA!$A2:$KL2,MATCH(F$1,DFRMDATA!$A$1:$KL$1,0)) = 0, 99,  INDEX(DFRMDATA!$A2:$KL2,MATCH(F$1,DFRMDATA!$A$1:$KL$1,0)) )

Open in new window

ASKER CERTIFIED SOLUTION
Avatar of Saqib Husain
Saqib Husain
Flag of Pakistan image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Ian Bell

ASKER

Thanks guys for your kind contributions.
I decided on yours Saqib as it appears more compact.
perfect!

Ian