+ Reply to Thread
Results 1 to 6 of 6

Calculate Total Cost of value associated with a word

  1. #1
    Registered User
    Join Date
    05-19-2016
    Location
    China
    MS-Off Ver
    2013
    Posts
    12

    Calculate Total Cost of value associated with a word

    Good evening,

    I have to work out total additional cost for each different cost type. I'll attach the file.

    There are 4 different type of costs:
    Agency Cover
    Blue To Red
    Regional
    Overtime Req

    I would like a formula that will automatically find the name "Agency Cover" and calculate the total cost for the week and put it in cell D60.

    I've tried vlookup but it only return the first value it found, I need to calculate all of them.

    Here is the vlookup formula that I did, can you tell me what I did wrong or suggest another way to do this please?

    =VLOOKUP(C57,C3:D56,2,)
    Attached Files Attached Files

  2. #2
    Forum Expert shukla.ankur281190's Avatar
    Join Date
    05-17-2014
    Location
    Lucknow, India
    MS-Off Ver
    Office 365
    Posts
    3,935

    Re: Calculate Total Cost of value associated with a word

    try

    D60=SUMIFS($D$3:$D$56,$C$3:$C$56,C60)
    If I helped, Don't forget to add reputation (click on the little star ★ at bottom of this post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)

  3. #3
    Registered User
    Join Date
    05-19-2016
    Location
    China
    MS-Off Ver
    2013
    Posts
    12

    Re: Calculate Total Cost of value associated with a word

    Thank Shukla,

    I forgot to add that the cost type wont be in the same position each time, hence why I need something that will have to search for the name of the cost type and calculate the total cost.

  4. #4
    Forum Expert shukla.ankur281190's Avatar
    Join Date
    05-17-2014
    Location
    Lucknow, India
    MS-Off Ver
    Office 365
    Posts
    3,935

    Re: Calculate Total Cost of value associated with a word

    No need cost type in the same position this formula will take care about that.

    You can paste above cell for the result.

    Hope this will help you

  5. #5
    Registered User
    Join Date
    05-19-2016
    Location
    China
    MS-Off Ver
    2013
    Posts
    12

    Re: Calculate Total Cost of value associated with a word

    Just checked it and it works perfect, thanks guys

  6. #6
    Forum Expert shukla.ankur281190's Avatar
    Join Date
    05-17-2014
    Location
    Lucknow, India
    MS-Off Ver
    Office 365
    Posts
    3,935

    Re: Calculate Total Cost of value associated with a word

    Glad to help you.

    Please mark thread as solved and add reputation by clicking star * left corner on your screen on those post which helps 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] Rate changes after 40 hours and need to calculate total cost?
    By y_not in forum Excel General
    Replies: 12
    Last Post: 10-06-2015, 12:16 PM
  2. Auto-calculate the total cost to a certain date
    By victoriajane in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 03-07-2015, 12:46 PM
  3. [SOLVED] Formula to calculate a cost per day until total
    By Reno Nex in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-15-2014, 11:16 AM
  4. Replies: 1
    Last Post: 05-15-2013, 08:40 PM
  5. Replies: 8
    Last Post: 06-05-2012, 01:16 PM
  6. Replies: 1
    Last Post: 07-06-2011, 10:53 AM
  7. Replies: 3
    Last Post: 03-16-2010, 01:26 PM

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