+ Reply to Thread
Results 1 to 7 of 7

To Pull out data in excel – on the basis of conditions

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    10-08-2023
    Location
    UAE
    MS-Off Ver
    Office 2016
    Posts
    123

    To Pull out data in excel – on the basis of conditions

    Hi, dear experts please help me to make a report on excel. I want to process payments based on Specific Date of Payment and in their demanding currency.
    >>>>>>>There are more than one currencies and different payment dates.
    >>>>>>>Many Customers are repeating (same customer but different dates & Currencies)
    Data must be extracted / pull out in result sheet on two conditions:
    1) Date of Payments; and
    2) Currency
    I want to have data in following columns to process payments by entering date on the date of payment:
    1. Account Title
    2. Account Number
    3. Amount

    =IF($A5=0," ",INDEX(Data!$B$4:$F$129,ROW()+4,CHOOSE(COLUMNS($B:B),1)))
    Above formula is not working.
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    30,881

    Re: To Pull out data in excel ? on the basis of conditions

    In B5

    Formula: copy to clipboard
    =IF($A5=0," ",IFERROR(INDEX(Data!$C$4:$C$129,AGGREGATE(15,6,(ROW($A$4:$A$129)-ROW($A$4)+1)/(Data!$B$4:$B$129='Result Sheet'!$B$2),ROWS($1:1))),""))


    You do not specify which currency (?) or are you expecting formatting of amount to reflect the currency (need VBA for this)
    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

  3. #3
    Forum Contributor
    Join Date
    10-08-2023
    Location
    UAE
    MS-Off Ver
    Office 2016
    Posts
    123

    Re: To Pull out data in excel ? on the basis of conditions

    Sorry Johan its not working in B5.

  4. #4
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    30,881

    Re: To Pull out data in excel ? on the basis of conditions

    ??

    See attached:
    Attached Files Attached Files

  5. #5
    Forum Contributor
    Join Date
    10-08-2023
    Location
    UAE
    MS-Off Ver
    Office 2016
    Posts
    123

    Re: To Pull out data in excel ? on the basis of conditions

    Respective currency:

    =IF($A5="USD",IFERROR(INDEX(Data!$C$4:$C$129,AGGREGATE(15,6,(ROW($A$4:$A$129)-ROW($A$4)+1)/(Data!$B$4:$B$129='Result Sheet'!$B$2),ROWS($1:1))),""),"")
    Attached Files Attached Files

  6. #6
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    30,881

    Re: To Pull out data in excel ? on the basis of conditions

    As you moved the date from B2 to C2, then change the formula accordingly
    Attached Files Attached Files

  7. #7
    Forum Contributor
    Join Date
    10-08-2023
    Location
    UAE
    MS-Off Ver
    Office 2016
    Posts
    123

    Re: To Pull out data in excel ? on the basis of conditions

    Thanks you so much. So nice of you. God Bless you.

+ 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] Macro to fetch the data from one workbook to another basis conditions and combinations
    By Manish_Gupta in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 07-19-2022, 07:23 AM
  2. Replies: 1
    Last Post: 10-18-2020, 10:29 AM
  3. Replies: 1
    Last Post: 07-16-2019, 01:31 PM
  4. [SOLVED] Need a Macro to send email from excel through Outlook basis of different conditions
    By Manish_Gupta in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-11-2014, 10:21 PM
  5. Need a formula to pull data from another tab with 2 conditions
    By hillnoft in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-25-2014, 04:02 PM
  6. Pull data from one spreadsheet into another on a daily basis (workbook
    By david20 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-07-2013, 10:53 AM
  7. Pull data if conditions are met?
    By bjh3a in forum Excel General
    Replies: 1
    Last Post: 06-03-2009, 09:12 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