+ Reply to Thread
Results 1 to 4 of 4

Formula for adding specific values based on data in other columns

  1. #1
    Registered User
    Join Date
    05-08-2013
    Location
    South Africa
    MS-Off Ver
    Excel 2010
    Posts
    3

    Formula for adding specific values based on data in other columns

    Hi All,

    I joined this forum today & I am looking forward to using & visiting it from now onwards.

    I have a query related to adding specific values based on the day of the week (Public holidays & weekends). I attached the file with a comment explaining my query. I look forward to a response & thank you in advance

    Regards,
    Adelade
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor Lemice's Avatar
    Join Date
    04-13-2013
    Location
    Somewhere.
    MS-Off Ver
    Excel 2016
    Posts
    696

    Re: Formula for adding specific values based on data in other columns

    Hello and welcome to the forum,

    Not sure what you mean, maybe this formula is what you are looking for
    Please Login or Register  to view this content.
    Paste it on N2 and drag it down to N32. Is it doing what you are expecting?
    (copy pasta from Ford)
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools

    Regards,
    Lem

  3. #3
    Registered User
    Join Date
    05-08-2013
    Location
    South Africa
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Formula for adding specific values based on data in other columns

    Hi Lem,

    Thank you for the prompt response to my question.

    Let me explain it quickly..there are a 3 conditions for the values in column N. If it is "Public Holiday" in column C2, N2 should be blank & the sum of J2:J3 should be in cell N3. The second condition is, if it is a "Fri" in C2, N2 should be the sum of J2:J4 (thus including the Qty Litres for Fri, Sat & Sun) & N3 and N4 should be blank. Otherwise N2 should be equal to the value in J2 (3rd condition).

    I hope that makes sense...

    Thanks

  4. #4
    Registered User
    Join Date
    05-08-2013
    Location
    South Africa
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Formula for adding specific values based on data in other columns

    Thanks, all sorted now

+ 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