Public Schedule Face-to-Face & Online Instructor-Led Training - View dates & book

if functions

ResolvedVersion 365

Sophie has attended:
TD Intermediate Plus course

If functions

Hello there
I would like to create a formula that populates based on multiple IF functions, pulling different results depending on which IF is true.

For example, IF its X then put A, if it's Y then put B, if it's Z then put C (for up to 25+ IF variables)

Firstly, is this possible? Secondly, how might I go about it?

Thanks in advance!

RE: if functions

Hi Sophie,

Thank you for the forum question.

You can use the IFS function.

=ifs(a1=“x”, “a”,a1=“y”,”b”,a1=“z”,”c”……)

The IFS function can work with up to 128 tests.





regards

Jens Bonde
Microsoft Office Specialist Trainer

Tel: 0207 987 3777
STL - https://www.stl-training.co.uk
98%+ recommend us

London's leader with UK wide delivery in Microsoft Office training and management training to global brands, FTSE 100, SME's and the public sector

RE: if functions

Thanks Jens
Is it possible to pull that information from another sheet? For example

If its X then put 'sheet1 cell A1', if it's Y then put 'sheet 1 cell A2', and so on?

RE: if functions

Hi Sophie,

Yes

Type =ifs(a1=“x”,

and then navigate to the sheet and click on the cell you want to reference.

or type it.

=ifs(a1=“x”, 'sheet Name'!b4,a1=“y”,'sheet Name'!b4,a1=“z”,'sheet Name'!b4……)




Kind regards

Jens Bonde
Microsoft Office Specialist Trainer

Tel: 0207 987 3777
STL - https://www.stl-training.co.uk
98%+ recommend us

London's leader with UK wide delivery in Microsoft Office training and management training to global brands, FTSE 100, SME's and the public sector

Tue 7 Mar 2023: Automatically marked as resolved.

Excel tip:

Shortcut keys to move between sheets

Instead of clicking on a sheet tab to view a sheet, use the following keyboard shortcuts to move between sheets in the same file:

Ctrl + Page Down - Switch to the next worksheet (to the right)

Ctrl + Page Up - Switch to the previous worksheet (to the left)

View all Excel hints and tips

Connect with us:

0207 987 3777

Call for assistance

Request Callback

We will call you back

Server loaded in 0.1 secs.