Nov 28 2023 01:49 PM - edited Dec 03 2023 04:20 PM
I'm struggling to find the correct formula to get me the data as below:.
I have column A, B and C.
Column A has a persons name, Column B has an address, and Column C has a specific size.
Basically, I am trying to get a formula that will identify a name in A, then a size in C, which will then enter the address in B in the cell of my choice.
E.g., If 'Ashleigh' is in cell A, and size 20 is in column C, then my cell should be entered New Zealand.
Is this possible?
pic #1 is the data i'm collecting, pic#2 is the cell i am wanting the address in
Nov 28 2023 03:20 PM
Let's say the data in your first picture are in A2:C1000 (with A1:C1 being the headers) on a sheet named Data Sheet.
On another sheet, you enter a name (or select it from a Data Validation drop-down) in A2 and a size in C2.
Enter the following formula in B2:
=XLOOKUP(A2&C2, 'Data Sheet'!$A$2:$A$1000&'Data Sheet'!$C$2:$C$1000, "")
This can be filled or copied down as far as you want.
Nov 28 2023 04:55 PM
Nov 28 2023 11:22 PM
Does it work? If not, could you attach a small sample workbook demonstrating the problem (without sensitive data), or if that is not possible, make it available through OneDrive, Google Drive, Dropbox or similar?
Dec 03 2023 04:21 PM
Dec 04 2023 02:26 AM
I think I completely misunderstood your question. Does the attached version do what you want?
Dec 05 2023 12:21 PM
Dec 05 2023 12:43 PM
The formulas use the name in A1. If you enter another name in A1, the formulas will automatically display the results for that name.
So you could create copies of the sheet, and change the name in A1.
Dec 11 2023 12:26 PM
Dec 11 2023 12:44 PM
Dec 11 2023 03:15 PM
Dec 11 2023 03:20 PM
See the attached workbook. If you add a new row to the DUMP sheet with Grant, Jacob or John in column A, the new data will automatically be added to the corresponding worksheet.