ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   return value from a dropdown list in other cell (https://www.excelbanter.com/excel-discussion-misc-queries/268022-return-value-dropdown-list-other-cell.html)

martinezfer

return value from a dropdown list in other cell
 
Hi, I created a dropdown list and need to return a value in another cell.

When you pick dropdownlist1 option, in other cell put number 4, and so on, depending on the selection


If I use vlookup, for some reason of there is no selection, it returns #N/A. As I need to add the results, this error doesn't let me.

Thanks

Wilco

Not sure if I understand exactly the problem you're facing but just as a suggestion try and use an = if formula with the lookup as example

=IF([cell with dropdown menu]<"",(VLOOKUP([cell with dropdown menu],table array,col index num,FALSE)),"")

It works on my side, so good luck




Quote:

Originally Posted by martinezfer (Post 961940)
Hi, I created a dropdown list and need to return a value in another cell.

When you pick dropdownlist1 option, in other cell put number 4, and so on, depending on the selection


If I use vlookup, for some reason of there is no selection, it returns #N/A. As I need to add the results, this error doesn't let me.

Thanks


Jera Anderson

Quote:

Originally Posted by martinezfer (Post 961940)
Hi, I created a dropdown list and need to return a value in another cell.
When you pick dropdownlist1 option, in other cell put number 4, and so on, depending on the selection
If I use vlookup, for some reason of there is no selection, it returns #N/A. As I need to add the results, this error doesn't let me.
Thanks

Hi. Have you found a solution yet? If not, let me know. I've resolved this for you by working on a very similar project.
Jera


All times are GMT +1. The time now is 07:37 PM.

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