+ Reply to Thread
Results 1 to 4 of 4

Subtract a value that meets a condition from another value

Hybrid View

  1. #1
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Subtract a value that meets a condition from another value

    Hi and welcome to the forum.

    Presumably In E2 copied down a simple

    Formula: copy to clipboard
    =IF(F2="COS",D2-G2,"")


    ...late edit. Just seen the statement that COS isn;t always adjacent to the Gros value amount. Would you clarify. Does this mean for instance that E22 should be 0.41.i.e. D22-F23

    Please upload the workbook so that we can test for all conditions.
    Last edited by Richard Buttrey; 07-05-2018 at 01:14 PM.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  2. #2
    Registered User
    Join Date
    07-05-2018
    Location
    Houston, Texas
    MS-Off Ver
    2013 & 365 subscription
    Posts
    2

    Re: Subtract a value that meets a condition from another value

    You are correct on E22. I tried uploading the workbook on the original post and it wouldn't allow me. I'll try again.
    Last edited by AliGW; 07-05-2018 at 02:14 PM. Reason: Unnecessary quotation removed.

+ 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. TimeStamp and Sound when condition meets
    By SlamberGamer in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-06-2016, 12:43 AM
  2. Subtract rows from a list that meets certain criteria
    By InvalidTxtString in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-08-2016, 02:40 PM
  3. Nth Value that Meets Condition
    By jenbot1000 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-12-2015, 03:32 PM
  4. [SOLVED] IF the condition of gender is met AND the condition of age is met subtract this number
    By arsenalmom in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 01-16-2014, 11:16 PM
  5. How to Delete a Row if meets a condition
    By mr_horhe in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-16-2013, 08:34 AM
  6. Excel 2007 : Subtract if a cell meets criteria
    By dmartinez in forum Excel General
    Replies: 3
    Last Post: 07-19-2010, 02:27 PM
  7. Graphing only data that meets a condition
    By Heidi in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 01-19-2006, 04:35 PM

Tags for this Thread

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