+ Reply to Thread
Results 1 to 24 of 24

filter data from multiple sheets based on sheet name and brand

  1. #1
    Forum Contributor
    Join Date
    01-08-2021
    Location
    Asia
    MS-Off Ver
    2016
    Posts
    292

    filter data from multiple sheets based on sheet name and brand

    hi, expert
    I hope finding to answer my question I would filter data based on sheets names and brand based on column b in all sheets so when I write in g2, h2 in sheet1 it brings data and if g2 is empty it brings all data from all sheets based on h2 and sum the values in last row "total" I put example in the expected result in sheet1
    Attached Files Attached Files
    Last edited by leap out; 01-08-2021 at 03:22 PM.

  2. #2
    Forum Contributor
    Join Date
    01-08-2021
    Location
    Asia
    MS-Off Ver
    2016
    Posts
    292

    Re: filter data copy from multiple sheets based on sheet name and brand

    by the way I issued this post in another forum , but I can't provide the link it gives me not allow to insert link
    Last edited by leap out; 01-08-2021 at 03:12 PM.

  3. #3
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,829

    Re: filter data from multiple sheets based on sheet name and brand

    You can give the URL with gaps in it.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,829

    Re: filter data from multiple sheets based on sheet name and brand

    Here is a link you your cross post: http://www.mrexcel.com/board/threads...brand.1157792/

  5. #5
    Valued Forum Contributor
    Join Date
    06-27-2010
    Location
    sYRIA
    MS-Off Ver
    Excel 2013
    Posts
    669

    Re: filter data from multiple sheets based on sheet name and brand


  6. #6
    Forum Contributor
    Join Date
    01-08-2021
    Location
    Asia
    MS-Off Ver
    2016
    Posts
    292

    Re: filter data from multiple sheets based on sheet name and brand

    hi, mohadin I'll see and inform you

  7. #7
    Forum Contributor
    Join Date
    01-08-2021
    Location
    Asia
    MS-Off Ver
    2016
    Posts
    292

    Re: filter data from multiple sheets based on sheet name and brand

    absolutely not the same thing you should see my file , then you understand what I want
    if there is not clear I'm ready to explain more

  8. #8
    Valued Forum Contributor
    Join Date
    06-27-2010
    Location
    sYRIA
    MS-Off Ver
    Excel 2013
    Posts
    669

    Re: filter data from multiple sheets based on sheet name and brand

    absolutely not the same thing you should see my file , then you understand what I want
    if there is not clear I'm ready to explain more
    Well Thank you
    No need to explain more
    That code needs some slight amendment to meet your requirement
    I thought you might be able to do that, but...
    Last edited by mohadin; 01-26-2021 at 05:34 AM.

  9. #9
    Valued Forum Contributor
    Join Date
    06-27-2010
    Location
    sYRIA
    MS-Off Ver
    Excel 2013
    Posts
    669

    Re: filter data from multiple sheets based on sheet name and brand

    Hi
    Please Login or Register  to view this content.

  10. #10
    Forum Contributor
    Join Date
    01-08-2021
    Location
    Asia
    MS-Off Ver
    2016
    Posts
    292

    Re: filter data from multiple sheets based on sheet name and brand

    thanks for your trying ,but the code doesn't work at all

  11. #11
    Valued Forum Contributor
    Join Date
    06-27-2010
    Location
    sYRIA
    MS-Off Ver
    Excel 2013
    Posts
    669

    Re: filter data from multiple sheets based on sheet name and brand

    Try this one
    Attached Files Attached Files

  12. #12
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,524

    Re: filter data from multiple sheets based on sheet name and brand

    leap out,
    Try the attached.
    Please Login or Register  to view this content.
    Attached Files Attached Files

  13. #13
    Forum Expert sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2016 | 2019
    Posts
    13,236

    Re: filter data from multiple sheets based on sheet name and brand

    Please Login or Register  to view this content.
    Last edited by sintek; 01-27-2021 at 06:14 AM.
    Good Luck
    I don't presume to know what I am doing, however, just like you, I too started somewhere...
    One-day, One-problem at a time!!!
    If you feel I have helped, please click on the star to left of post [Add Reputation]
    Also....add a comment if you like!!!!
    And remember...Mark Thread as Solved.
    Excel Forum Rocks!!!

  14. #14
    Forum Contributor
    Join Date
    01-08-2021
    Location
    Asia
    MS-Off Ver
    2016
    Posts
    292

    Re: filter data from multiple sheets based on sheet name and brand

    thanks for your assistance I appreciate that
    actually I would mod the code based on dropdown and condition if if I only sect g3 then bring all data based on sheet's name and if I select only h3 then bring the item what I selected from all sheets and if I select from g3 ALL sheets then bring all data from all sheets
    if is possible I would truly appreciate if is not , I have
    to wait for somebody to help me
    Attached Files Attached Files
    Last edited by leap out; 01-27-2021 at 06:16 AM.

  15. #15
    Forum Contributor
    Join Date
    01-08-2021
    Location
    Asia
    MS-Off Ver
    2016
    Posts
    292

    Re: filter data from multiple sheets based on sheet name and brand

    @sintek I'm really sorry I don't note your post I will test your code and may you see my post #14 some adjusting ,please

  16. #16
    Forum Expert sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2016 | 2019
    Posts
    13,236

    Re: filter data from multiple sheets based on sheet name and brand

    Give this a go...Adjusted to post 14
    Please Login or Register  to view this content.
    Last edited by sintek; 01-27-2021 at 06:21 AM.

  17. #17
    Forum Contributor
    Join Date
    01-08-2021
    Location
    Asia
    MS-Off Ver
    2016
    Posts
    292

    Re: filter data from multiple sheets based on sheet name and brand

    @sintek wow! very impressive I just want something if is possible highlight the last row "total" by red color and may I write in g3 or h3 wrong sheet's name or wrong item then show the error
    i would show message box the sheet name or the item is not existed

  18. #18
    Forum Expert sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2016 | 2019
    Posts
    13,236

    Re: filter data from multiple sheets based on sheet name and brand

    If brand does not exist, then table will be blank...no need for error trapping...

    Please Login or Register  to view this content.
    Last edited by sintek; 01-27-2021 at 06:43 AM.

  19. #19
    Forum Contributor
    Join Date
    01-08-2021
    Location
    Asia
    MS-Off Ver
    2016
    Posts
    292

    Re: filter data from multiple sheets based on sheet name and brand

    many thanks for a great assistance

  20. #20
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,829

    Re: filter data from multiple sheets based on sheet name and brand

    Administrative Note

    ... please don't ignore contributors to your thread - acknowledge all solutions offered, even if they don't meet your requirements. Thanks.

  21. #21
    Forum Expert sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2016 | 2019
    Posts
    13,236

    Re: filter data from multiple sheets based on sheet name and brand

    .........................
    12345 (3).png

  22. #22
    Forum Contributor
    Join Date
    01-08-2021
    Location
    Asia
    MS-Off Ver
    2016
    Posts
    292

    Re: filter data from multiple sheets based on sheet name and brand

    @Jindon I'm really sorry about you think ,I ignored you when I shared another post you try solving and you inform me that and gives me the link ,actually I don't understand you in the beginning I thought you talk about mod code by @mohadin , and I don't want to ask for
    you to make clear me because I thought you're angry from my posting ,honestly I swear to I don't notice for your post I hope to believe me and accept my apology
    I tested your code and without exaggerating it is job by professional

  23. #23
    Forum Contributor
    Join Date
    01-08-2021
    Location
    Asia
    MS-Off Ver
    2016
    Posts
    292

    Re: filter data from multiple sheets based on sheet name and brand

    @ALiGW thanks for your note , but I hope to misunderstand me I lost my focusing
    I hope to accept my argument and apology

  24. #24
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,829

    Re: filter data from multiple sheets based on sheet name and brand

    Yes, of course - thank you.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] filter & copy data from sheet to another based on multiple columns and conditions
    By abdo meghari in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 12-16-2020, 10:42 AM
  2. Copy data from one sheet too different new sheets based on a filter
    By BART_21 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 04-29-2019, 07:25 AM
  3. [SOLVED] Need macro to copy data from 1 sheet to multiple sheets based on certain criteria
    By JudyF in forum Excel Programming / VBA / Macros
    Replies: 24
    Last Post: 11-08-2017, 10:34 AM
  4. [SOLVED] Copy Paste From Rawdata Sheets to Multiple Sheets Based on Sheet names
    By farrukh in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-16-2017, 11:01 PM
  5. Replies: 2
    Last Post: 06-29-2016, 03:56 PM
  6. [SOLVED] VBA Code to copy different data from one sheet to multiple sheets based on criteria
    By eharwood in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 10-08-2014, 02:22 PM
  7. Copy fitered data from 1 wb to multiple sheets of another wb based on the filter
    By alfaia in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 01-22-2014, 09:31 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1