+ Reply to Thread
Results 1 to 2 of 2

Formula to split number and add to 2 cells

  1. #1
    Registered User
    Join Date
    10-18-2013
    Location
    nigeria
    MS-Off Ver
    Excel 2007
    Posts
    28

    Formula to split number and add to 2 cells

    Please I need a formula in cell G5 and H5 that will solve the following problem.

    1. In G5 add numbers from I5 to T5 >0
    2. In H5 add numbers IT to T5 <0 but the challenge is that from cell J5:T5 I have 155,000 as monthly payment, but some months I may not be able to make full payment. I want if I pay for instance 100,000 the 100,000 should be added to cell G5 and the difference of 55,000 being negative value should be added to cell H5.

    Please kindly advise if a macro should be better use

    Thanks for advance.
    Attached Files Attached Files
    Last edited by Daotor; 05-04-2019 at 11:51 AM.

  2. #2
    Forum Expert JLGWhiz's Avatar
    Join Date
    02-20-2011
    Location
    Florida, USA
    MS-Off Ver
    Windows 10, Excel 2013
    Posts
    2,070

    Re: Formula to split number and add to 2 cells

    Wouldn't H5 just be = 155000 - G5?

    In G5:
    Please Login or Register  to view this content.
    In H5:
    Please Login or Register  to view this content.
    Maybe a better way of doing it would be to have a row that lists the accounts payable with a cell that summarizes those values. That would allow you to mak changes to what you expect to get if it changes from the 155000. Sat that would be on row 6 with H6 being the summary cell for that. Then in Cell H5 you would have
    Please Login or Register  to view this content.
    Last edited by JLGWhiz; 05-04-2019 at 03:19 PM.
    Any code provided by me should be tested on a copy or a mock up of your original data before applying it to the original. Some events in VBA cannot be reversed with the undo facility in Excel. If your original post is satisfied, please mark the thread as "Solved". To upload a file, see the banner at top of this page.
    Just when I think I am smart, I learn something new!

+ 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. Excel puzzle - how to solve?
    By Excellation86 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-12-2018, 10:21 AM
  2. Solve the pboblem of excel
    By happy lee in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-07-2013, 12:08 PM
  3. trying to solve an if formula in excel
    By jamie35 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 12-06-2012, 05:17 PM
  4. pls solve this, need excel macro
    By sujithy007 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-03-2012, 02:01 AM
  5. Mr Excel could not solve this
    By OpusOpus in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-02-2010, 05:47 PM
  6. [SOLVED] Excel 2007 : Please Solve it
    By ramakantapuri in forum Excel General
    Replies: 3
    Last Post: 12-07-2009, 08:40 AM
  7. How to solve the equation in excel using exp(x)
    By Soczeq in forum Excel General
    Replies: 1
    Last Post: 03-23-2005, 08: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