Feb 10 2024 06:58 PM
Hello all,
I am trying to automate data based off a table that gets generated daily. As the cells I am trying to autofill will have the information come off variable rows daily I am wondering if anyone could help.
Essentially it would be having a cell look for a matching name on column D in another sheet. If it finds that name then it would pull the numerical value from column G from the corresponding row where that data in column D was matched from.
I am fairly new to formulas in excel so any advice will be greatly appreciated. Apologies if my terminology seems vague.
Thanks in advance!
Feb 10 2024 09:04 PM
SolutionMany roads lead to Rome, here is one of the roads. You can achieve this using the VLOOKUP function in Excel. The VLOOKUP function searches for a value in the first column of a range and returns a value in the same row from another column you specify. Here is how you can use it in your scenario:
Assuming:
In Sheet2, you can use the following formula in the cell where you want the numerical value to appear:
=VLOOKUP(A2, Sheet1!$D$2:$G$100, 4, FALSE)
Here is what each part of the formula does:
Drag this formula down to autofill the numerical values for the corresponding names in your list.
Remember to adjust the range ($D$2:$G$100) to cover all the data in your table on Sheet1. You may also need to adjust the range if your data goes beyond row 100. AI was partially deployed to support the text.
My answers are voluntary and without guarantee!
Hope this will help you.
Was the answer useful? Mark as best response and Like it!
This will help all forum participants.
Feb 10 2024 11:20 PM
Feb 10 2024 09:04 PM
SolutionMany roads lead to Rome, here is one of the roads. You can achieve this using the VLOOKUP function in Excel. The VLOOKUP function searches for a value in the first column of a range and returns a value in the same row from another column you specify. Here is how you can use it in your scenario:
Assuming:
In Sheet2, you can use the following formula in the cell where you want the numerical value to appear:
=VLOOKUP(A2, Sheet1!$D$2:$G$100, 4, FALSE)
Here is what each part of the formula does:
Drag this formula down to autofill the numerical values for the corresponding names in your list.
Remember to adjust the range ($D$2:$G$100) to cover all the data in your table on Sheet1. You may also need to adjust the range if your data goes beyond row 100. AI was partially deployed to support the text.
My answers are voluntary and without guarantee!
Hope this will help you.
Was the answer useful? Mark as best response and Like it!
This will help all forum participants.