+ Reply to Thread
Results 1 to 3 of 3

How to add positive and negative numbers based on the text on another cell?

  1. #1
    Registered User
    Join Date
    12-01-2020
    Location
    England
    MS-Off Ver
    365
    Posts
    1

    How to add positive and negative numbers based on the text on another cell?

    Hi, on daily based I get a list of transactions (columns E:G) and they are divided by subtitles (cells in blue e.g. e5). I need to add the values related to each subtitle (as shown in red B6:C9). Basically is adding, for each subtitle, all the cells (column G) related to "Trades" and to "OUT" (column E). I need to build an excel with the formulas where I can just paste the daily translations (columns E:G) and the sums get done; please note that the Subtitles, Trades and OUT names will change.
    Any ideas how to handle this? Thank you so much!

    Help_excel.PNG
    Attached Files Attached Files

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,893

    Re: How to add positive and negative numbers based on the text on another cell?

    Is there any reason why you are using the obsolete .xls files format, when you have Office 365???? Do yuou need backward compatability with a format that was replaced in 2003?
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  3. #3
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,893

    Re: How to add positive and negative numbers based on the text on another cell?

    Here is an O365-friendly version, based on INDEX-AGGREGATE. Similar formulae are used. This one is in B6:

    =IFERROR(INDEX($J:$J,AGGREGATE(15,6,ROW($J$5:$J$50)/(($J$5:$J$50>0)*(ISNUMBER(SEARCH("Out",$E$5:$E$50)))),ROWS($1:1))),"")
    Attached Files Attached Files

+ 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. Sum positive/negative numbers based on text of another cell
    By jeffkirk in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 02-24-2020, 11:02 AM
  2. If statement based on positive and negative numbers.
    By CHSCS in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 07-17-2019, 12:58 AM
  3. [SOLVED] Format cell colors based on another cell values with positive and negative numbers
    By rlowry in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 03-30-2017, 12:10 PM
  4. Separate positive & negative numbers from on cell
    By tselek1985 in forum Excel General
    Replies: 3
    Last Post: 06-11-2015, 08:14 AM
  5. Replies: 2
    Last Post: 08-04-2014, 08:57 AM
  6. [SOLVED] Deleting Correlating Positive and Negative Numbers based on Criteria
    By amaan.khowaja in forum Excel Formulas & Functions
    Replies: 24
    Last Post: 09-02-2013, 06:49 AM
  7. Convert negative to positive in sheet containing both positive/negative numbers
    By sa02000 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-29-2010, 07:52 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