+ Reply to Thread
Results 1 to 13 of 13

Lookup and return cell value

Hybrid View

  1. #1
    Registered User
    Join Date
    01-19-2012
    Location
    Gettysburg, PA
    MS-Off Ver
    Excel 2003
    Posts
    7

    Lookup and return cell value

    I am currently trying to create a report that, from the attached data, summarized the amount of revenue by state by customer. I am assuming I will need a lookup of some kind. So I think I am looking for a formula that looks at a portion of the spreadsheet and finds the abbreviation for a state, then returns that revenue amount to the left of it. I need help. I am open to any suggestions.

    Thank You in advance
    Attached Files Attached Files

  2. #2
    Forum Guru Winon's Avatar
    Join Date
    02-20-2007
    Location
    East Rand, R.S.A.
    MS-Off Ver
    2010
    Posts
    6,113

    Re: Lookup and return cell value

    Hello jenwantz,

    I would suggest you create a Table Report, and then use DSUM to get the desired results.

    Anyone else with a better idea?
    Please consider:

    Be polite. Thank those who have helped you. Then Click on the star icon in the lower left part of the contributor's post and add Reputation. Cleaning up when you're done. If you are satisfied with the help you have received, then Please do Mark your thread [SOLVED] .

  3. #3
    Registered User
    Join Date
    01-19-2012
    Location
    Gettysburg, PA
    MS-Off Ver
    Excel 2003
    Posts
    7

    Re: Lookup and return cell value

    thank you for your help

  4. #4
    Registered User
    Join Date
    01-19-2012
    Location
    Gettysburg, PA
    MS-Off Ver
    Excel 2003
    Posts
    7

    Re: Lookup and return cell value

    I am not very familiar with a pivot table. I have attempted to insert it. I am not sure how to incorporate the dsum. Do you have any more direct instructions?

  5. #5
    Forum Guru Winon's Avatar
    Join Date
    02-20-2007
    Location
    East Rand, R.S.A.
    MS-Off Ver
    2010
    Posts
    6,113

    Re: Lookup and return cell value

    Hi jenwantz,

    If you could upload a sample WorkBook, showing what you need done how, then we may be in a better position to assist.

  6. #6
    Registered User
    Join Date
    01-19-2012
    Location
    Gettysburg, PA
    MS-Off Ver
    Excel 2003
    Posts
    7

    Re: Lookup and return cell value

    There is a sample attached

  7. #7
    Forum Expert OnErrorGoto0's Avatar
    Join Date
    12-30-2011
    Location
    I DO NOT POST HERE ANYMORE
    MS-Off Ver
    I DO NOT POST HERE ANYMORE
    Posts
    1,655

    Re: Lookup and return cell value

    That's not a great format to work with, but you need something like this.
    Attached Files Attached Files
    Good luck.

  8. #8
    Forum Guru Winon's Avatar
    Join Date
    02-20-2007
    Location
    East Rand, R.S.A.
    MS-Off Ver
    2010
    Posts
    6,113

    Re: Lookup and return cell value

    @0EGO,

    Great Job, my friend!

    Once again, you have demonstrated to not only look at the given, but rather the solution. And that initially lies within the build of the WorkBook, which you have so nicely fixed.

    I myself, would not have been able to do it better.

    Thank you for helping once again!

    @ jenwantz,

    So the solution turned out to be SumProduct and not Dsum, and some restructuring !...

    Come on now, you have to agree. OnErrorGoto0 deserves a good Rep for his help!

  9. #9
    Registered User
    Join Date
    01-19-2012
    Location
    Gettysburg, PA
    MS-Off Ver
    Excel 2003
    Posts
    7

    Re: Lookup and return cell value

    Thank You so much. I really appreciate it. This is a life saver and exactly what I was looking for. I can not express my full gratitude. You made my week.

  10. #10
    Forum Expert OnErrorGoto0's Avatar
    Join Date
    12-30-2011
    Location
    I DO NOT POST HERE ANYMORE
    MS-Off Ver
    I DO NOT POST HERE ANYMORE
    Posts
    1,655

    Re: Lookup and return cell value

    My pleasure. Please don't forget to mark the thread solved.

  11. #11
    Registered User
    Join Date
    01-19-2012
    Location
    Gettysburg, PA
    MS-Off Ver
    Excel 2003
    Posts
    7

    Re: Lookup and return cell value

    One more quick question. What if it needs sorted by another criteria? I am trying to sort sales by company by state by product line. This sort is by sales by state by company currently?

  12. #12
    Forum Expert OnErrorGoto0's Avatar
    Join Date
    12-30-2011
    Location
    I DO NOT POST HERE ANYMORE
    MS-Off Ver
    I DO NOT POST HERE ANYMORE
    Posts
    1,655

    Re: Lookup and return cell value

    It's not a sort, but you would need to add an additional range and criterion to the SUMPRODUCT formula of the form
    *(range=criterion)
    in the first part of the formula.

  13. #13
    Registered User
    Join Date
    01-19-2012
    Location
    Gettysburg, PA
    MS-Off Ver
    Excel 2003
    Posts
    7

    Re: Lookup and return cell value

    Thank you so much for all of your help and quick responses

+ 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