+ Reply to Thread
Results 1 to 5 of 5

Eliminating an unnecessary column

  1. #1
    Registered User
    Join Date
    04-29-2020
    Location
    Texas
    MS-Off Ver
    Office 365
    Posts
    34

    Eliminating an unnecessary column

    I've got an amortization table much, like any other one, but I've got a formula to provide me the outstanding balance. The only way i've seemed to get it to work is if i add a column, referencing the previous rows balance. How can I eliminate that requirement in the following sample spreadsheet.


    =IFERROR(INDEX(C2:C14,MATCH(TRUE,A2:A13>TODAY(),0)),"")

    Column A = date,
    Column C = Column B-1 row

    I want to eliminate Column C
    Attached Files Attached Files
    Last edited by BigPapaMurf; 05-31-2020 at 01:10 AM. Reason: clarifying what i want to remove.

  2. #2
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,211

    Re: Eliminating an unnecessary column

    Please try

    =IFERROR(INDEX(--B1:B12,MATCH(TRUE,A2:A13>TODAY(),0)),"")
    Last edited by Bo_Ry; 05-31-2020 at 01:27 AM.

  3. #3
    Registered User
    Join Date
    04-29-2020
    Location
    Texas
    MS-Off Ver
    Office 365
    Posts
    34

    Re: Eliminating an unnecessary column

    While the formula does allow me to eliminate column C, It's given me the wrong row result. Also note, I provided a bad sample where the rows did not line up. My fault. A more accurate sample is now attached in this reply message.
    The outstanding balance should = the value in column K where the date in column B is the last date to have passed. So, using the formula you provided and my slight range adjustment, As of today 5/31, the outstanding balance should = cell K21 and not K22.

    See the new attachment. I also moved the sample data to the actual cells they are in on my spreadsheet
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    04-29-2020
    Location
    Texas
    MS-Off Ver
    Office 365
    Posts
    34

    Re: Eliminating an unnecessary column

    I think I just figured it out.....
    I added a -1 after the TODAY(),0)
    so it looks like this, based on your example and my slight range correction

    =IFERROR(INDEX(--B2:B13,MATCH(TRUE,A2:A13>TODAY(),0)-1),"")

  5. #5
    Registered User
    Join Date
    04-29-2020
    Location
    Texas
    MS-Off Ver
    Office 365
    Posts
    34

    Re: Eliminating an unnecessary column

    Thanks for your help Bo_Ry. Considering the issue solved.

+ 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] Remove unnecessary spaces from column c
    By aviatecar in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-30-2013, 01:28 PM
  2. Column clean up - Eliminating prefixes
    By foxy_420 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-21-2012, 09:32 AM
  3. [SOLVED] Eliminating rows with 0 in Column D
    By BHammy in forum Excel General
    Replies: 3
    Last Post: 11-05-2012, 02:50 PM
  4. Replies: 15
    Last Post: 03-16-2012, 07:45 PM
  5. [SOLVED] Deleting unnecessary data in a column
    By LaserDance in forum Excel General
    Replies: 2
    Last Post: 07-20-2010, 09:08 PM
  6. Eliminating zero values from a column
    By Errabal in forum Excel General
    Replies: 2
    Last Post: 01-13-2010, 10:23 AM
  7. Eliminating Duplicate rows in one column
    By philde in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-27-2009, 10:55 AM
  8. Eliminating a Column from Formula
    By Tom in forum Excel General
    Replies: 6
    Last Post: 05-08-2005, 01:06 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