ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   use if statement in excel formula to populate adjacent from list? (https://www.excelbanter.com/excel-worksheet-functions/212796-use-if-statement-excel-formula-populate-adjacent-list.html)

Larry 44

use if statement in excel formula to populate adjacent from list?
 
Is it possible to create a formula using an if statement to populate an
adjacent cell from a list/dropdown of text?

Gord Dibben

use if statement in excel formula to populate adjacent from list?
 
The IF statement would have to be in the adjacent cell. Formulas cannot
push results to another cell.

How many items to choose from in the dropdown?

If many, probably best to go with a lookup table and a VLOOKUP formula in
the adjacent cell.

If only a few you could use something like this.

=LOOKUP(B1,{"one","two","three","four"},{"A","B"," C","D"})


Gord Dibben MS Excel MVP


On Sun, 7 Dec 2008 12:18:08 -0800, Larry 44 <Larry
wrote:

Is it possible to create a formula using an if statement to populate an
adjacent cell from a list/dropdown of text?




All times are GMT +1. The time now is 12:29 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com