Quick excel help
Discussion
Hi guys, I need to automatically populate a particular cell, depending on the inputs of 2 other cells. For example, if A1=Hello and B1=Today, then C1=Test
There are 4 dropdown options in A1 and 16 dropdown options in B1, therefore 64 permutations of C1.
Is it an IF or VLOOKUP I need? Or is there an easier option?
Thanks for any advice!
There are 4 dropdown options in A1 and 16 dropdown options in B1, therefore 64 permutations of C1.
Is it an IF or VLOOKUP I need? Or is there an easier option?
Thanks for any advice!
Cheers guys, its a little more complex than I initial briefed.
Cell A1 has a value attached to it (eg "Hello" = 1, "Goodbye" = 2), and B1 also has a value (eg "Today" = 2000, "Tomorrow" - 3000) and C1 would add these together (eg Hello Today = "2001").
Sorry for not explaining fully to start with.
Cell A1 has a value attached to it (eg "Hello" = 1, "Goodbye" = 2), and B1 also has a value (eg "Today" = 2000, "Tomorrow" - 3000) and C1 would add these together (eg Hello Today = "2001").
Sorry for not explaining fully to start with.
Are the values referenced in another chart/table, or is the number actually the values in the drop downs? If so just replace the 'Test' part of the IF formula with A1+B1 should work.
I'm thinking it's more complicated than that as you could just do a1+b1?
I'm thinking it's more complicated than that as you could just do a1+b1?
Edited by Xerstead on Tuesday 1st December 11:16
Xerstead said:
Are the values referenced in another chart/table, or is the number actually the values in the drop downs? If so just replace the 'Test' part of the IF formula with A1+B1 should work.
I'm thinking it's more complicated than that as you could just do a1+b1?
Yes the values are referenced in other columns. eg A1 - "Hello" then B1 = "1" and if C1 = "Today" then D1 = "2000"I'm thinking it's more complicated than that as you could just do a1+b1?
Edited by Xerstead on Tuesday 1st December 11:16
In that scenario, E1 should equal "2001",
But likewise if A1 = "Goodbye" and C1 ="Today", E1 should equal "2002"
Edited by audi321 on Tuesday 1st December 11:28
The beauty of excel is the multiple options. Whatever option you decide, plan ahead and think how your data would or could change in time. If your look up list is small and values are static, a simple IF statement will suffice, but if the look up values are subject to constant change, a look up table could be easier to maintain.
Gassing Station | Computers, Gadgets & Stuff | Top of Page | What's New | My Stuff


