Hi, I'm trying to set up a formula based on the value in a combo box and it's not working. What am I doing wrong?
Hi, I'm trying to set up a formula based on the value in a combo box and it's not working. What am I doing wrong?
Please tell me the List of Items you have in ComboBox as it appear in combobox, in your attached file I am unable to see the list in combobox.
Samba
Say thanks to those who have helped you by clicking Add Reputation star.
(blank)
Mark
Roxanne
Joint
ok instead of using the text use numbers in as per their order
d3=IF(B3=1,0,IF(B3=2,C3/2))
e3=IF(B3=2,0,IF(B3=1,C3/2))
here 1 means Mark, 2 means Roxanne and 3 means Joint
Note: The order which they appear in combobox
you can find the number in B3 by dragging the Combobox towards Up/down, when you select the list in combobox, the number in B3 will be changed based on your selection
Last edited by samba_ravi; 02-18-2018 at 03:53 PM.
yeah, I didn't finish the formula. I was trying to get that part to work. It doesn't.
=IF(B3="Mark",0,IF(B3="Roxanne",C3/2,IF(B3="joint",C3/2,"error")))
This is the new formula
see the post no 4, I modified the post
ok. I got it. Thanks. Is there any way that is easy to copy the combo down for several rows or do I have to set each one up?
I think you can use Data Validation instead of Combobox
see the attached file,
here you can use If condition as you used before
Last edited by samba_ravi; 02-18-2018 at 04:06 PM.
Thank you. That's awesome. I didn't know about that. I copied yours, but need to figure out how to do it on my own.
data > datavalidation>settings>select list from allow > in source you can type the names or can select the range
If you want to enter names your own, "" not required as you used in formulas for text and the list will be separated by ,
thank you. I found it and set it up. That's a cool function. Thanks so much!
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks