+ Reply to Thread
Results 1 to 8 of 8

Search worksheet

  1. #1
    Registered User
    Join Date
    03-02-2007
    Posts
    3

    Angry functions for Search worksheet and that lol

    I am in no way a coder nor do I know any functions for excel other than those taught at school, but if someone could help me with this little problem I would most appreciate it.

    Thanks in advance.

    Rob

    Ok.

    I have an excel spreadsheet with several worksheets that have a part number, description and the quantity of that part.

    I would like a function to search the whole workbook for an instance (i.e. part number) then total the quantity of that part into a new cell on the master sheet.

    Like SearchWorkbookFor(CA-GM-0001) AddTheValueOf each instance

    I would also like a separate function to search for the part number and copy the description for the part into the mastersheet's description column.

    I apologise for the crappy code but I just wanted to make it clearer.
    I also have a sample xls file if it would help

    Thanks again

    Rob
    Last edited by robj83; 03-02-2007 at 06:35 AM.

  2. #2
    Forum Contributor
    Join Date
    03-14-2006
    Location
    Pakistan
    Posts
    1,791

    Lightbulb

    Quote Originally Posted by robj83
    I am in no way a coder nor do I know any functions for excel other than those taught at school, but if someone could help me with this little problem I would most appreciate it.

    Thanks in advance.

    Rob

    Ok.

    I have an excel spreadsheet with several worksheets that have a part number, description and the quantity of that part.

    I would like a function to search the whole workbook for an instance (i.e. part number) then total the quantity of that part into a new cell on the master sheet.

    Like SearchWorkbookFor(CA-GM-0001) AddTheValueOf each instance

    I would also like a separate function to search for the part number and copy the description for the part into the mastersheet's description column.

    I apologise for the crappy code but I just wanted to make it clearer.
    I also have a sample xls file if it would help

    Thanks again

    Rob
    better it would be if you attach a sample workbook here with your data.

  3. #3
    Registered User
    Join Date
    03-02-2007
    Posts
    3
    Apologies.

    Thank you
    Attached Files Attached Files

  4. #4
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,525
    Hi, if you zipped an example of the workbook then attatch it to a new post we will be able to help better

    Here's a site that will show you how to compress your file

    http://www.inf.aber.ac.uk/advisory/faq/90


    once you have compressed your file, attatch it to your next post by clicking on the paperclip icon, above

  5. #5
    Forum Contributor
    Join Date
    03-14-2006
    Location
    Pakistan
    Posts
    1,791

    Lightbulb

    Quote Originally Posted by robj83
    Apologies.

    Thank you
    see the attached and let me know if it is same as you requried.
    Attached Files Attached Files

  6. #6
    Registered User
    Join Date
    03-02-2007
    Posts
    3
    Hi Starguy, thanks for the help, unfortunately its not what I’m after.

    I no longer need the description, so that’s one less to worry about.

    I am looking to total the quantities of a part number from each worksheet.

    I have edited the xls file to be a little more like the one I'm using.

    What I need is a function to search for every instance of the part number CA-MC-0013 and then add the Quantities of that part (the number in the C column) together.

    Thanks

    Rob
    Attached Files Attached Files
    Last edited by robj83; 03-02-2007 at 07:53 AM. Reason: didn't make much sense

  7. #7
    Forum Contributor
    Join Date
    03-14-2006
    Location
    Pakistan
    Posts
    1,791

    Lightbulb

    Quote Originally Posted by robj83
    Hi Starguy, thanks for the help, unfortunately its not what I’m after.

    I no longer need the description, so that’s one less to worry about.

    I am looking to total the quantities of a part number from each worksheet.

    I have edited the xls file to be a little more like the one I'm using.

    What I need is a function to search for every instance of the part number CA-MC-0013 and then add the Quantities of that part (the number in the C column) together.

    Thanks

    Rob
    ok see the attached file.
    Attached Files Attached Files

  8. #8
    Forum Contributor
    Join Date
    03-14-2006
    Location
    Pakistan
    Posts
    1,791

    Lightbulb

    you can also use 3D reference style to get the results.

    see the attached file and search Excel help for following words.
    About cell and range references
    Attached Files Attached Files

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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