ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Assigning cell values to return a number (https://www.excelbanter.com/excel-discussion-misc-queries/78399-re-assigning-cell-values-return-number.html)

wdjsxj

Assigning cell values to return a number
 
Hi,if you put the following in column a and column b,
A Cook 7.5
A Craig 8
B Innes 8
B Kirby 7.5
C Gouder 8

and you have the formula in cell c2: VLOOKUP(C1,A1:B5,2)
then when you can input the text in c1,e.g. a cook ,the corresponding value
will appear in cell c2,i.e.7.5

€œwhatzzup€ç¼–写:

Good Morning All
I am trying to create a formula or macro where i can assign an operative
name to a value such as
7.5 A Cook
8 A Craig
8 B Innes
7.5 B Kirby
8 C Gouder
Where i can type the name A Cook in a cell the value 7.5 appears instead and
same with A Craig.
Can i have a bit of help please??? Thanks



All times are GMT +1. The time now is 05:46 AM.

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