ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Combo Box & If formula (https://www.excelbanter.com/excel-discussion-misc-queries/169725-combo-box-if-formula.html)

Tail Wind

Combo Box & If formula
 
I have a combo box with 8 options available. The combo box links to N1 where
it returns a value from 1 to 8 (works fine). In cell cell A5 is
=if(n1=1,R1,R2) R1 and R2 contain text. The problem is as new options are
selected in the combo box, A5 does not change.

I'm stumped.

Thanks for your help in advance,

Bernie Deitrick

Combo Box & If formula
 
Tail Wind,

The combo box returns a string, so in cell A5, use this:

=IF(N1="1",R1,R2)

HTH,
Bernie
MS Excel MVP


"Tail Wind" wrote in message
...
I have a combo box with 8 options available. The combo box links to N1 where
it returns a value from 1 to 8 (works fine). In cell cell A5 is
=if(n1=1,R1,R2) R1 and R2 contain text. The problem is as new options are
selected in the combo box, A5 does not change.

I'm stumped.

Thanks for your help in advance,





All times are GMT +1. The time now is 07:25 AM.

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