• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Getting data with sheet name and columns heading

Mohandas

Member
I have in this sample file 3 sheets called town1, town2,town3
Which has category of oulets namely supermarkets and so on

I have another sheet called summary in which this town data needs to be updated

Please help me getting the data from that sheets as sheet name and outlet category as criteria

Regards

Mohandas
 

Attachments

  • Outlets.xlsx
    64.8 KB · Views: 3
Try,

1] In I2, formula copied right to Q2 and all copied down :

=IF($F2="","",VLOOKUP(I$1,INDIRECT("'"&$F2&"'!A2:B10"),2,0))

2] In G2, formula copied down :

=IF(F2="","",SUM(I2:Q2))

Regards
Bosco
 

Attachments

  • Outlets(1).xlsx
    65.6 KB · Views: 6
Back
Top