ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Cell Values Formula (https://www.excelbanter.com/excel-worksheet-functions/10711-cell-values-formula.html)

BubbaJ

Cell Values Formula
 
Hi

I am trying to create a worksheet whereby when i enter certain data, e.g.
the letter 'D', it returns a pre set value etc and the same for the rest of
the alphabet, any advice would be gratefully accepted x

Nick Hodge

Set up a table with A-Z in one column, say A and the values in column B then
use this as a VLOOKUP table, thus (Entered in D1)

=VLOOKUP(C1,$A$1:$B$26,2,FALSE)

You then enter a letter in C1 and the value will appear in D1

--
HTH
Nick Hodge
Microsoft MVP - Excel
Southampton, England
HIS

"BubbaJ" wrote in message
...
Hi

I am trying to create a worksheet whereby when i enter certain data, e.g.
the letter 'D', it returns a pre set value etc and the same for the rest
of
the alphabet, any advice would be gratefully accepted x





All times are GMT +1. The time now is 04:52 AM.

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