+ Reply to Thread
Results 1 to 11 of 11

Stuck! Exact Values

  1. #1
    Registered User
    Join Date
    05-12-2014
    MS-Off Ver
    Excel 2003
    Posts
    3

    Stuck! Exact Values

    I have created a database of product type codes in access and transferred it to a table in excel. The end game is when I receive an order form it will upload in my estimate sheet. The problem that I am having is attempting to use the sum of a given range if the product code matches the one in the table. I can easily do so if I am talking about one cell but this is for multiple cells. The reason I am using the table is because it is broken down in sections such as "framing" "siding" "trim" etc. The exact value just brings back true or false and I cannot seem to find the best way to go about it. Any insight would be greatly appreciated, thank you!

  2. #2
    Valued Forum Contributor
    Join Date
    09-21-2011
    Location
    Birmingham UK
    MS-Off Ver
    Excel 2003/7/10
    Posts
    2,188

    Re: Stuck! Exact Values

    can you attach a sample?
    Hope this helps

    Sometimes its best to start at the beginning and learn VBA & Excel.

    Please dont ask me to do your work for you, I learnt from Reading books, Recording, F1 and Google and like having all of this knowledge in my head for the next time i wish to do it, or wish to tweak it.
    Available for remote consultancy work PM me

  3. #3
    Registered User
    Join Date
    05-12-2014
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: Stuck! Exact Values

    I attached a test page this just has a random table that would be uploaded from the PDF bid that the lumber company gives and then there is a small table at the bottom that just has random product codes with random sections. So basically what I am looking for is a section for say framing and it will use the corresponding product codes for framing and what the prices would be for those codes. Thanks!
    Attached Files Attached Files

  4. #4
    Valued Forum Contributor Saarang84's Avatar
    Join Date
    02-19-2009
    Location
    Chennai, India
    MS-Off Ver
    XL 2003 to 2010
    Posts
    812

    Re: Stuck! Exact Values

    Hi Mike,

    Welcome to the forum.
    I couldn't interpret your requirement from your test worksheet. Could you please post how your output would be for this input?
    If my assistance has helped, there is a reputation icon * on the left hand corner below the post - you can show your appreciation to the user who has helped in resolving your requirement.

    If your requirement has been solved please mark your thread as Solved.
    In the menu bar above the very first post, select Thread Tools, then select "Mark this thread as Solved".

    Kindly use [FORMULA] or [CODE] tags when posting your code.

    Regards,
    Sarang

  5. #5
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,882

    Re: Stuck! Exact Values

    First you will need to unmerge all the cells to make this work.

    Then you will need a vlookup in F22 =VLOOKUP(E22,$C$2:$AA$20,23,FALSE)

    And copy it down. Look at this link to see how vlookup works

    http://www.techonthenet.com/excel/formulas/vlookup.php
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  6. #6
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Stuck! Exact Values

    Please see attached file.
    Attached Files Attached Files
    If you like my answer please click on * Add Reputation
    Don't forget to mark threads as "Solved" if your problem has been resolved

    "Nothing is so firmly believed as what we least know."
    --Michel de Montaigne

  7. #7
    Registered User
    Join Date
    05-12-2014
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: Stuck! Exact Values

    Sorry the columns did not transfer through, the last column on the right AF2:AJ20 is the sum range those are the finals prices of the product. The table in the bottom is the sections "framing", "siding", "trim" etc. So basically what is needed is if the product code in C2:J20 matches the product code in the table if it is in the "framing" section then it will pull the corresponding price in AF2:AJ20. So in the end I will have a section for say framing and this will pull each product code in the top table that is known to be framing and add the prices all together. Sorry this is all semi new for me so I apologize if that is not the best way to explain!

  8. #8
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Stuck! Exact Values

    I suggest you upload a file where it shows what the expected results should look like. The explanation you provided, at least for me, is very difficult to follow.

  9. #9
    Valued Forum Contributor Saarang84's Avatar
    Join Date
    02-19-2009
    Location
    Chennai, India
    MS-Off Ver
    XL 2003 to 2010
    Posts
    812

    Re: Stuck! Exact Values

    Hi Michel,

    From what I could understand from the OP's explanation so far, he would need a SUMPRODUCT formula (on prices column) one each for the sections Framing, Siding, Trim, etc. But unfortunately, the sample workbook that he has posted contains incomplete data

  10. #10
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Stuck! Exact Values

    Quote Originally Posted by Saarang84 View Post
    Hi Michel,
    LOL!!!, Michel or Michel de Montaigne was a prominent French writer and philosopher who died in 1592 (422 years ago)

  11. #11
    Valued Forum Contributor Saarang84's Avatar
    Join Date
    02-19-2009
    Location
    Chennai, India
    MS-Off Ver
    XL 2003 to 2010
    Posts
    812

    Re: Stuck! Exact Values

    Quote Originally Posted by AlKey View Post
    LOL!!!, Michel or Michel de Montaigne was a prominent French writer and philosopher who died in 1592 (422 years ago)
    Sorry !! Didn't know that, thought it was your name...

+ 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] Get exact values from Combo box
    By abduljaleel.mca in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-31-2013, 06:38 AM
  2. Stuck at work and stuck on a count function
    By gregfetzer in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-24-2012, 12:47 AM
  3. Vlookup without exact values?
    By Worldtraveller in forum Excel General
    Replies: 2
    Last Post: 04-15-2011, 10:03 PM
  4. matching exact values
    By hey1000 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-19-2010, 12:06 AM
  5. Using multiple values to locate exact values
    By jgg in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-11-2009, 06:58 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