HI.
We have Excel 2007 which is a German version so we replace commas ( , ) with semicolons ( ; ) (and there is some funny spelling
)
I am a beginner and have just discovered IFERROR.
The following is the formula I am currently battling with;
=IFERROR(IF(DAY(Januar!AP$8)+1<>DAY(Januar!AQ$8);OFFSET(INDEX(Januar!$AQ$9:$AQ$35;MATCH($C20;Januar!$C$9:$C$35;0));0;-1;1;-6);"OOPS");"Oh Bugger")
This formula works well and I am impressed with the IFERROR function.
However, what I cannot figure out is how to have the IFERROR work when I string together multiple versions of my IF formula e.g.
=IFERROR(IF(DAY(Januar!AP$8)+1<>DAY(Januar!AQ$8);OFFSET(INDEX(Januar!$AQ$9:$AQ$35;MATCH($C20;Januar!$C$9:$C$35;0);0;-1;1;-6));IFERROR(IF(DAY(Januar!AQ$8)+1<>DAY(Januar!AR$8);OFFSET(INDEX(Januar!$AR$9:$AR$35;MATCH($C20;Januar!$C$9:$C$35;0));0;-1;1;-6);"P"));Bugger))
I need to have up to 7 variations of the formula all depending on the IF(DAY(Januar!AP$8)+1<>DAY(Januar!AQ$8) which I use to find the Cell where a month changes (i.e. 31st>1st, 28th>1st etc) from the end of a month to the beginning of the next.
Does anybody have an idea (or two)? If I have to use ISERROR the formula will be very very long.
Regards.
We have Excel 2007 which is a German version so we replace commas ( , ) with semicolons ( ; ) (and there is some funny spelling
I am a beginner and have just discovered IFERROR.
The following is the formula I am currently battling with;
=IFERROR(IF(DAY(Januar!AP$8)+1<>DAY(Januar!AQ$8);OFFSET(INDEX(Januar!$AQ$9:$AQ$35;MATCH($C20;Januar!$C$9:$C$35;0));0;-1;1;-6);"OOPS");"Oh Bugger")
This formula works well and I am impressed with the IFERROR function.
However, what I cannot figure out is how to have the IFERROR work when I string together multiple versions of my IF formula e.g.
=IFERROR(IF(DAY(Januar!AP$8)+1<>DAY(Januar!AQ$8);OFFSET(INDEX(Januar!$AQ$9:$AQ$35;MATCH($C20;Januar!$C$9:$C$35;0);0;-1;1;-6));IFERROR(IF(DAY(Januar!AQ$8)+1<>DAY(Januar!AR$8);OFFSET(INDEX(Januar!$AR$9:$AR$35;MATCH($C20;Januar!$C$9:$C$35;0));0;-1;1;-6);"P"));Bugger))
I need to have up to 7 variations of the formula all depending on the IF(DAY(Januar!AP$8)+1<>DAY(Januar!AQ$8) which I use to find the Cell where a month changes (i.e. 31st>1st, 28th>1st etc) from the end of a month to the beginning of the next.
Does anybody have an idea (or two)? If I have to use ISERROR the formula will be very very long.
Regards.
Last edited: