Damien
Damien

Reputation: 392

More efficient way than nested ifs

In Excel, I want to use something other then nested if statements to execute a task. Is there a cleaner way of doing cases besides nested if statements? Is there a cases statement in excel? For example given a ordered tuple with ones and zeros (e.g (1,1,0)), I want the value of a cell to be something. Can I specify the ordered tuples in advance without something besides nested if statements?

Upvotes: 0

Views: 1098

Answers (1)

John Bustos
John Bustos

Reputation: 19574

If you already know the ordered tuples and what you want the final value to be, why not create a reference table somewhere else on your sheet with Col1 = tuple ; Col2 = Wanted output?

Then just use a Vlookup() statement on that table...

Hope this makes sense / does what you want....

Upvotes: 4

Related Questions