View Single Post
  #5   Report Post  
jerry_maguire jerry_maguire is offline
Junior Member
 
Posts: 25
Default Letter to Represent a Value

Try this:

1. Type a letter in cell A1 and its corresponding value in cell B1. For example, "x" in A1 and "3" in B1.

2. Repeat the process until you enter all letters and their corresponding values, with one letter and value per row. For example, A2 can take "y" and B2 can take "5."

3. Select a cell where you want to insert the value represented by the letter.

4. Type in the formula bar: =LOOKUP("letter",Af:Bl) Replace "letter" with the letter that represents the value you want to insert into the cell. Replace "Af" with the first cell that holds a letter and "Bl" with the last cell that holds a value. For example, if you defined six letters and their variables in the first six rows and wanted to insert the value of "x" in another cell, you would type "=LOOKUP("x",A1:B6)". Press "Enter" to display the formula's result.

5. Use the formula from Step 5 as an argument if you plan to use the letters as part of other functions. For instance, this function adds x and y from the examples above and displays the result, 8, in the selected cell: =SUM(LOOKUP("x",A1:B6),LOOKUP("y",A1:B6))

Hope this helps. But, if you need more assistance, visit https://www.apps4rent.com

Regards,
Jerry M