Formula update for earlier versions of Excel

andrewb90

Well-known Member
Joined
Dec 16, 2009
Messages
1,077
Hello All,

I have a couple formulas that have been created in 2016 and I need to see if there are any ways to easily convert it to an older version. I have several variations of this formula, so any assistance making this change would be greatly appreciated!

Code:
=IF(Scheduler!E89<>"",Scheduler!E89,SWITCH(RO!C4,"1","TIME","2","OTHER","3","JURY","4","MATNY","5","AT AN","6",Initial!$C$46,""))

Code:
=SWITCH(G6,"TIME","","OTHER","","JURY","","MATNY","","AT AN","",Initial!$C$46,"","","","-")

Code:
=IF(Scheduler!F89<>"",IF(Scheduler!F89 = Initial!$E$31,"CLOSE",Scheduler!F89),SWITCH(RO!D4,"1","OFF","2","STORE","3","DUTY","4","LEAVE","5","EVENT","6",Initial!$D$46,""))

Many thanks!
 

Excel Facts

Remove leading & trailing spaces
Save as CSV to remove all leading and trailing spaces. It is faster than using TRIM().
This
SWITCH(RO!C4,"1","TIME","2","OTHER","3","JURY","4","MATNY","5","AT AN","6",Initial!$C$46)

Can be replaced with the CHOOSE function (be aware that "1" is text not a number)

=CHOOSE(RO!C4+0,"TIME","OTHER","JURY","MATNY","AT AN",Initial!$C$46)

or eventually with the LOOKUP function (vector form)

and this
=SWITCH(G6,"TIME","","OTHER","","JURY","","MATNY","","AT AN","",Initial!$C$46,"","","","-")

to = IF(OR(G6="TIME,G6="OTHER",etc...),"","-")
 
Last edited:
Upvote 0

Forum statistics

Threads
1,223,236
Messages
6,170,915
Members
452,366
Latest member
TePunaBloke

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