Lookup for a specific text read array and return value to summary sheet

amolvijay

Board Regular
Joined
Nov 13, 2012
Messages
101
Office Version
  1. 365
Platform
  1. Windows
Dear Experts,
I have a big excel workbook comprising of sales data for various sales person. Each sales person's data is maintained in separate sheet in the master workbook. At the end of sales date worksheet have the detailed data for every sales person. I want to create a summary of detailed data from each sales person in a SUMMARY tab. Detailed data is located in same column for all the sales persons, however the row position is different depending upon the sales data.

Detailed Data for every sales person
Sale (Item A)80
Sale (Item B)90
Total Sales ($)1200

<tbody>
</tbody>

Expected summary
Sale (Item A)Sale (Item B)Total Sales ($)
John80901200
Richard60701500
Mike2040800

<tbody>
</tbody>
 

Excel Facts

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying
Something like this.


Excel 2013/2016
ABCD
1Sales PersonSale (Item A)Sale (Item B)Total Sales ($)
2John80901200
3Richard60701500
4Mike2040800
Sheet1
Cell Formulas
RangeFormula
B2=VLOOKUP($B$1,John!$A$1:$B$3,2,0)
B3=VLOOKUP($B$1,Richard!$A$1:$B$3,2,0)
B4=VLOOKUP($B$1,Mike!$A$1:$B$3,2,0)
C2=VLOOKUP($C$1,John!$A$1:$B$3,2,0)
C3=VLOOKUP($C$1,Richard!$A$1:$B$3,2,0)
C4=VLOOKUP($C$1,Mike!$A$1:$B$3,2,0)
D2=VLOOKUP($D$1,John!A1:B3,2,0)
D3=VLOOKUP($D$1,Richard!A2:B4,2,0)
D4=VLOOKUP($D$1,Mike!A3:B5,2,0)
 
Upvote 0
Solution
Thank you Sam_D_Ben. My DETAILED DATA in all the sheets is in the same column but row position is different. I wish a formula to read the Sales person name from Summary sheet and return the required sales data from individual DETAILED DATA.
 
Upvote 0
For example, you can change the rows in this formula

=VLOOKUP(
$B$1,John!$A$1:$B$3,2,0), if the data is in another row like A12:B15, you can edit it as =VLOOKUP($B$1,John!$A$12:$B$15,2,0)

This is just an example. You can edit the row.

 
Upvote 0

Forum statistics

Threads
1,214,981
Messages
6,122,566
Members
449,089
Latest member
Motoracer88

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top