Not sure what function I need, possibly Lookup?

cedricthecat

Active Member
Joined
May 17, 2007
Messages
460
Sorry for vague title!

What I have is a list of 64 values in A1:A64, with 64 corresponding values in B1:B64, to give give 64 more in C1:C64. These are stored in a Worksheet called "Grade List"

Basically there are 8 different original values, which can apply to Right Eye (Column A) and Left Eye (Column B). They are laid out so all of Value 1 for A are in A1:A8, with Values 1-8 in B1:B8. Then Value 2 in A9:A16, with again 1-8 in B1:B16

In Column C the values are entered manually - this is because they are text values and are not calculable from A and B. The values are overall grades dependent on Right and Left values, but not necessarily sequential as a number of factors affect which of R and L "wins" to create the result

What I am trying to do is allow a lookup of some kind on these from another worksheet, but the problem is, as far as I can see if, you can only carry out this sort of function on one Column?

Here's a sample of the data:- (sorry, not sure how to get the columns to line up...)

A B C
R0M0 R0M0 R0M0
R0M0 R1M0 R1M0
R0M0 R1M1 R1M1
R0M0 R2M0 R2M0
R0M0 R2M1 R2M1
R0M0 R3M0 R3M0
R0M0 R3M1 R3M1
R0M0 U U
R1M0 R0M0 R1M0
R1M0 R1M0 R1M0
R1M0 R1M1 R1M1
R1M0 R2M0 R2M0
R1M0 R2M1 R2M1
R1M0 R3M0 R3M0
R1M0 R3M1 R3M1
R1M0 U U
R1M1 R0M0 R1M1
R1M1 R1M0 R1M1
R1M1 R1M1 R1M1
R1M1 R2M0 R2M0
R1M1 R2M1 R2M1
R1M1 R3M0 R3M0
R1M1 R3M1 R3M1
R1M1 U R1M1

So, if for example someone entered, in the active Worksheet, R1M0 in Column F and U in Column G, I'd like to populate Column H with U

Not sure if this is possible?

(thanks for any help that anyone can give and apologies for probably convoluted question!)
 

Some videos you may like

Excel Facts

How to create a cell-sized chart?
Tiny charts, called Sparklines, were added to Excel 2010. Look for Sparklines on the Insert tab.

Subscribe on YouTube

Watch MrExcel Video

Forum statistics

Threads
1,106,711
Messages
5,512,986
Members
408,928
Latest member
Black Vinyl

This Week's Hot Topics

  • Sort code advice please
    Hi, I have the code below which im trying to edit but getting a little stuck. This was the original code which worked fine,columns A-F would sort...
  • SUMPRODUCT with nested If statement
    Hi everyone, Hope you're all well. I'm hoping someone will be able to point me in the right direction with a problem I'm having with a SUMPRODUCT...
  • VBA - simple sort is killing me!
    Hello all! This should be so easy, but not for me, apparently! I have a table of data that can be of varying lengths and widths. My current macro...
  • Compare Two Lists
    I have two Lists and I need to be able to Identify differences between them. List 100 comes from a workbook - the other is downloaded form the...
  • Formula that deducts points for each code I input.
    I am trying to create a formula that will have each student in my class start at 100 points and then for each code that I enter (PP for Poor...
  • Conditional formatting formula required for day of week and a value
    Hi, I have a really simple spreadsheet where column A is the date, column B is the activity total shown as a number and column C states the day of...
Top