Final answer:
You can use the VLOOKUP() function in Excel to find the state each customer lives in based on the customer ID.
Step-by-step explanation:
To find the state each customer lives in based on the customer ID in the 'rawdata' worksheet, you can use the VLOOKUP() function in Excel. Here is an example of the formula:
=VLOOKUP(B2, rawdata!A:B, 2, FALSE)
In this formula, 'B2' is the cell containing the customer ID, 'rawdata!A:B' is the range containing the customer ID and state columns in the 'rawdata' worksheet, '2' indicates that the state column is the second column in the range, and 'FALSE' ensures an exact match.
Make sure to adjust the formula according to your specific worksheet and data layout.