User Form ComboBox: Number to VLOOKUP not working

mark2323

New Member
Joined
Mar 25, 2020
Messages
5
Office Version
  1. 2016
Platform
  1. Windows
I have a worksheet ("SUBSTITUTIONS") that contains a ComboBox, with the following property settings:

ListFillRange: SUBSTITUTIONS!A14:E25

LinkedCell: SUBSTITUTIONS!A6

BoundColumn: 1 - This column is a number - and source data is formatted as such

The next 25 cells (A7:A26) in Row A are filled with VLOOKUP formulas that read cell A6, and then properly run the VLOOKUP to pull data from range A14:E25. Great. Well, I decided to declutter the page a bit and to create a "pop up" UserForm containing a ComboBox with the following property settings:

RowSource: SUBSTITUTIONS!A14:E25

ControlSource: SUBSTITUTIONS!A6

BoundColumn: 1 - This column is a number - and source data is formatted as such

After the selection is made in the UserForm ComboBox and I return to the Worksheet, the VLOOKUP formulas in Row A does NOT update properly. This despite pulling from the same source data. I have also tried making sure the A6 cell is formatted as a Number. Even after manually making that change, the VLOOKUP's still do not update properly. Any idea on what the disconnect is between the sheet ComboBox working, and the UserForm ComboBox not?
 

Excel Facts

What is =ROMAN(40) in Excel?
The Roman numeral for 40 is XL. Bill "MrExcel" Jelen's 40th book was called MrExcel XL.
A combobox returns a Text, even in case the source data is number.
So if you need to VLookup the output against a list of Numbers you have to convert it, such as
Excel Formula:
VLOOKUP(VALUE(SUBSTITUTIONS!A6),etc etc)
 
Upvote 0

Forum statistics

Threads
1,224,599
Messages
6,179,831
Members
452,946
Latest member
JoseDavid

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top