+ Reply to Thread
Results 1 to 8 of 8

Return a Value sum based upon a Cell Value

Hybrid View

  1. #1
    Registered User
    Join Date
    10-06-2014
    Location
    Grimsby, ON
    MS-Off Ver
    2007
    Posts
    7

    Return a Value sum based upon a Cell Value

    Possibly a bit of a complicated situation.

    I'm doing up a price breakdown for carpentry work, and who I'm going to assign it to.
    Column A contains the price for the work, Column B contains the Trade that will be completing the work.
    Can I have a cell that will sum up all of the column A Values that are assigned to each trade on Column B?
    ie, A1,2,3,7,8,10 are assigned to 'Trade 1'
    A4,5 are assigned to 'Trade 2'
    A6,9 are assigned to 'Trade 3'
    C1 will show the value of all work assigned to 'Trade 1'
    C2 will show the value of all work assigned to 'Trade 2'
    C3 will show the value of all work assigned to 'Trade 3'

    I'd like this to be able to live update in case I need to transfer work from one trade to another. Ideally, I'd actually prefer the 'C' column on a separate sheet but that may not quite work. This is for construction purposes and it's always changing.

    I've tried this on my own, and I'm getting nowhere!

    Thanks

  2. #2
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,463

    Re: Return a Value sum based upon a Cell Value

    Attach a sample workbook. Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and use the paperclip icon to open the upload window.

    View Pic

  3. #3
    Registered User
    Join Date
    10-06-2014
    Location
    Grimsby, ON
    MS-Off Ver
    2007
    Posts
    7

    Re: Return a Value sum based upon a Cell Value

    Here's my working template. I've forced the values and tried to explain it with a few notes.

    Much appreciated

    Carpentry Breakdown Template.xlsx

  4. #4
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,649

    Re: Return a Value sum based upon a Cell Value

    Try this......
    In C3
    =SUMIF('CARPENTRY BREAKDOWN'!$I$4:$I$36,$A3,'CARPENTRY BREAKDOWN'!$F$4:$F$36)
    and copy down.

    Is this what you are trying to achieve?
    Regards
    sktneer


    Treat people the way you want to be treated. Talk to people the way you want to be talked to.
    Respect is earned NOT given.

  5. #5
    Registered User
    Join Date
    10-06-2014
    Location
    Grimsby, ON
    MS-Off Ver
    2007
    Posts
    7

    Re: Return a Value sum based upon a Cell Value

    Sktneer, I don't think that's what I'm looking for. Though I may be copying it incorrectly. Are you basing this upon my original post, or the template I put up?

  6. #6
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,649

    Re: Return a Value sum based upon a Cell Value

    See the attached sheet and shift the job to another person and see if the changes are reflected in the yellow formula cells.
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    10-06-2014
    Location
    Grimsby, ON
    MS-Off Ver
    2007
    Posts
    7

    Re: Return a Value sum based upon a Cell Value

    That worked great. Thanks so much. I had to change some of the column names as I've added some, bu this helps me greatly.

    Regards,

  8. #8
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,649

    Re: Return a Value sum based upon a Cell Value

    You're welcome. Glad I could help.
    If that takes care of your question, please mark your thread as Solved by selecting Thread Tools (just above your first post) --> Mark thread as solved.
    Moreover you may also click on * (star) to Add Reputation if the solution provided helped you. This is another way to say thanks.

+ 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] Return cell values based on cell color
    By Surya51 in forum Excel Programming / VBA / Macros
    Replies: 20
    Last Post: 04-04-2016, 10:59 AM
  2. Lookup Cell contents and return value based on what is in the cell
    By RoyLittle0 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-28-2013, 08:41 AM
  3. [SOLVED] Return cell info based on corresponding cell criteria?
    By MjRmatt in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 07-30-2012, 10:08 AM
  4. 'Return a value based on the value of another cell'
    By megan7775 in forum Excel General
    Replies: 7
    Last Post: 11-30-2011, 10:19 AM
  5. return data based on a cell value
    By tinkerbelle in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 02-27-2009, 04:00 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