Would someone please help me with how to do a lookup and replace data?
I have two spreadsheets - main and approvers.
The main spreadsheet contains:
- A list of employees in column 1
- 10 columns of fruit (in each column an employee has one of four positions or is blank)
- The last column is labelled "Approver" but has no data in it
The approvers spreadsheet contains:
- A list of the fruit in column 1
- The approver for that fruit in column 2
- The last column is labelled "Position", but has no data in it
I need to do several things with this data:
- For each fruit on the approvers spreadsheet, find the entry for the approver on the main spreadsheet. Move (cut and paste) that approver's position from it's location on the main spreadsheet to the Position column on the approver spreadsheet. If the employee does not have a position for that fruit, then the Position column should be marked "No Position".
- Example 1: Upp, Harriet is the approver for Apple (approver spreadsheet, row 2). On the main spreadsheet, look up Harriet's position for Apple - she is a Buyer. Cut and paste Buyer from main spreadsheet cell B19 to approver spreadsheet cell C2.
- Example 2: Yose, Audie is the approver for Banana (approver spreadsheet, row 5). On the main spreadsheet, look up Audie's position for Banana - he has no position. On the approver spreadsheet, in the Position column for Banana (cell C5), enter the text "No Position".
- Once all of the approvers have been taken care of on the Position column on the approver spreadsheet, then fill in the data for the Approver column on the main spreadsheet. For employee who is on the approver spreadsheet, then the Approver column on the main spreadsheet should be marked "Approver".
- Example 1: Upp, Harriet is on the approvers spreadsheet (cells B2 and B3). On the main spreadsheet, in cell L19, enter the text "Approver".
- Example 2: Anthemum, Chris is on the approvers spreadsheet (cells B4 and B6). On the main spreadsheet, in cell L16, enter the text "Approver".
I have attached before and after examples of both spreadsheets. Any help would be greatly appreciated!