+ Reply to Thread
Results 1 to 9 of 9

Return amount from cell above the next date

  1. #1
    Registered User
    Join Date
    09-16-2019
    Location
    Philippines
    MS-Off Ver
    365
    Posts
    29

    Return amount from cell above the next date

    I have bank info from pdf that when pasted to excel only pastes on a single column.
    I can get the date and memo easily by filter but the amount for that particular transaction is in different cell, which is one cell above the next date/transaction.

    How to easily do that? thank you
    Attached Files Attached Files
    Last edited by mia12; 11-05-2019 at 02:49 PM. Reason: solved

  2. #2
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,609

    Re: Return amount from cell above the next date

    Were the $ signs in the pdf or did you add/custom format them for the sample file?
    Ben Van Johnson

  3. #3
    Registered User
    Join Date
    09-16-2019
    Location
    Philippines
    MS-Off Ver
    365
    Posts
    29

    Re: Return amount from cell above the next date

    There were $ in the pdf but after pasting (either as text or values) in the excel, they are formatted as currencies.

  4. #4
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,548

    Re: Return amount from cell above the next date

    Perhaps the following will help.
    1. B2:B35 are populated using: =IFERROR(IF(AND(VALUE(LEFT(A2,8))>43500,VALUE(LEFT(A2,8))<10^7),A2,""),"")
    2. C2:C35 are populated using: =IF(B2="","",IF(ISTEXT(B2),INDEX(A$2:A$35,AGGREGATE(15,6,(ROW(A$2:A$35)-ROW(A$1))/(ISNUMBER(A$2:A$35))/(A$2:A$35<10^8),SUMPRODUCT(--(B$2:B2<>""))))))
    3. E2:F35 are populated using: =IFERROR(INDEX(B$2:B$35,AGGREGATE(15,6,(ROW($B$2:$B$35)-ROW($B$1))/($B$2:$B$35<>""),ROWS($A$1:$A1))),"")
    Let us know if you have any questions.
    Attached Files Attached Files
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

  5. #5
    Registered User
    Join Date
    09-16-2019
    Location
    Philippines
    MS-Off Ver
    365
    Posts
    29

    Re: Return amount from cell above the next date

    Hi! Thank you for taking time to answer. I'm just wondering how the formula works in some rows but not in others after clicking enable editing. The formula is still there and no editing done yet but the other info needed just don't appear. Please see attached screenshot.
    Attached Images Attached Images

  6. #6
    Registered User
    Join Date
    09-16-2019
    Location
    Philippines
    MS-Off Ver
    365
    Posts
    29

    Re: Return amount from cell above the next date

    It's no problem really, I'll just filter the date in column A, use cell reference in column B, then the formula in column C for the amounts which I really needed works perfectly.

  7. #7
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,548

    Re: Return amount from cell above the next date

    You might try using this modified formula in column B: =IFERROR(IF(AND(VALUE(TRIM(LEFT(A2,8)))>43500,VALUE(TRIM(LEFT(A2,8)))<10^7),A2,""),"")
    Only other suggestion that I have would be to upload a copy of the spreadsheet on the right of the screenshot.
    Let us know if you have any questions.

  8. #8
    Registered User
    Join Date
    09-16-2019
    Location
    Philippines
    MS-Off Ver
    365
    Posts
    29

    Re: Return amount from cell above the next date

    The modified formula for column B actually works. No more #N/a in my column C. Thanks

  9. #9
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,548

    Re: Return amount from cell above the next date

    You're Welcome. Thank You for the feedback and for marking the thread as 'Solved'. I hope that you have a blessed day.

+ 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. Replies: 16
    Last Post: 01-31-2019, 03:31 PM
  2. [SOLVED] Return amount values based on date and name criteria
    By MyStix01 in forum Excel General
    Replies: 2
    Last Post: 10-09-2017, 09:26 PM
  3. [SOLVED] Index Match-return an amount if a date falls between two dates
    By HRpersonnel in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 02-09-2016, 12:06 AM
  4. [SOLVED] Loop through tabs and return date and amount when amount is present
    By rs1aj in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-16-2015, 04:19 PM
  5. [SOLVED] Count amount of desired numbers in a single cell and return that value in another cell
    By jmallory76 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-20-2013, 10:09 AM
  6. trying to return a year to date amount
    By bumpty in forum Excel General
    Replies: 4
    Last Post: 03-04-2011, 12:20 PM
  7. index row, return dollar amount adding amount together
    By desk.doc in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 07-27-2007, 12:11 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