ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Updating cell data from a table with an ID (https://www.excelbanter.com/excel-discussion-misc-queries/146833-updating-cell-data-table-id.html)

MadHenry

Updating cell data from a table with an ID
 
I have a table called hinnakiri which has a lot of rows and 3 columns with
headers (Material, Price, Other Price)

And I have a column where I can select material name from a DataValidation
drop-down listbox.. I need to update the cell next to it with a price from
hinnakiri.

I need the price to update automatically in that cell every time I change it
in hinnakiri.
How is it possible? :)

Toppers

Updating cell data from a table with an ID
 
Use VLOOKUP:

Assume DV is in cell A2 and price in B2:

in B2: =VLOOKUP(A2,hinnakiri,2,0)

HTH

"MadHenry" wrote:

I have a table called hinnakiri which has a lot of rows and 3 columns with
headers (Material, Price, Other Price)

And I have a column where I can select material name from a DataValidation
drop-down listbox.. I need to update the cell next to it with a price from
hinnakiri.

I need the price to update automatically in that cell every time I change it
in hinnakiri.
How is it possible? :)



All times are GMT +1. The time now is 12:23 AM.

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