+ Reply to Thread
Results 1 to 43 of 43

I want to pull out/extract data through Excel Formula

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

    I want to pull out/extract data through Excel Formula

    I have a portfolio of almost 20,000 Customers as mentioned in Excel Sheet. I want to pull out/extract data through Excel Formula for the followings:

    1). How to Mark Status of each customer in Excel Sheet as "Matured", "Pre-Matured" or Blank "Outstanding" with the help of Excel Formula.

    2). How to Mark Pre-Matured if any Customer want to avail Pre-Maturity option in the excel sheet with the help of Excel Formula.

    =IF(G3<=$L$1,"Matured",IF(G3>$L$1," ","Pre-Matured"))

    3). How to Pull out data of Customers those have become eligible for 6 month Coupon (in the case of 3 years & 5 Years only) with the help of Excel Formula.

    =IF(AND(I3=3-Years,I3=5-Years),EDATE(F3,6)," ")

    Kindly Help me.
    Attached Files Attached Files

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,904

    Re: I want to pull out/extract data through Excel Formula

    Are you still using Excel 2013?
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

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

    Re: I want to pull out/extract data through Excel Formula

    No Excel 2016

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,904

    Re: I want to pull out/extract data through Excel Formula

    Then please update your forum profile NOW. Thanks.

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

    Re: I want to pull out/extract data through Excel Formula

    Anybody please help me.

  6. #6
    Forum Expert
    Join Date
    09-07-2014
    Location
    Israel
    MS-Off Ver
    office 365 for MAC
    Posts
    3,105

    Re: I want to pull out/extract data through Excel Formula

    Hi,
    1. Is this the formula you applied in column "L" ? what is the problem with the formula?
    2. when does a customer considered "pre-matured"?
    3. See column "H" :
    =IF(OR(I3="3-Years",I3="5-Years"),EDATE(F3,6)," ")
    Attached Files Attached Files

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

    Re: I want to pull out/extract data through Excel Formula

    I want to extract data on three basis out of 20,000 customers. The basis are as follows:

    How to pull out Status of each customer in same Excel Sheet and on another sheet like as "Matured", "Pre-Matured" or Blank "Outstanding" with the help of Excel Formula.

    Also how to Pull out/extract data of Customers those have become eligible for 6 month Coupon (3 years & 5 Years only) with the help of Excel Formula. In this case I am using currently filter for example: if today is 9th Nov-2023, then how many customers would be claiming 6 month Coupon today.

    these two issues are there. Current formula is not sufficient and another formula in column "H" is also not working. Please help me by giving any appropriate formula for both cases. Regards.

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

    Re: I want to pull out/extract data through Excel Formula

    Quote Originally Posted by Limor_OP View Post
    Hi,
    1. Is this the formula you applied in column "L" ? what is the problem with the formula?
    2. when does a customer considered "pre-matured"?
    3. See column "H" :
    =IF(OR(I3="3-Years",I3="5-Years"),EDATE(F3,6)," ")
    "Pre-Matured or Pre-Maturity Encashment" if any Customer want to avail Pre-Maturity option after one month from the date of issuance and on any date before date of maturity anytime. I want to mark it in the excel sheet with the help of Excel Formula and also want to extract summary for three categories on any date 1). Customers Matured, 2). Customers Pre-Matured & Customer Outstanding (neither matured nor pre-matured)".

  9. #9
    Forum Expert
    Join Date
    09-07-2014
    Location
    Israel
    MS-Off Ver
    office 365 for MAC
    Posts
    3,105

    Re: I want to pull out/extract data through Excel Formula

    Hi,
    If you want to count the "MATURED" cases for example - then you can use :
    =COUNTIF(L3:L12,"MATURED")

    Or you can make a pivotable like in the attached, filter the status you are interested to show and count the number of statuses.
    Hope this helps.
    Attached Files Attached Files
    Last edited by Limor_OP; 11-09-2023 at 07:44 AM.

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

    Re: I want to pull out/extract data through Excel Formula

    Quote Originally Posted by Limor_OP View Post
    3. See column "H" :
    =IF(OR(I3="3-Years",I3="5-Years"),EDATE(F3,6)," ")
    In this case if we are talking about 3 Years Certificate then I would have 3*2=6 Coupons on future dates exact after 6 months;
    Same in the case of 5 Years I would provide 5*2=10 Coupons. I want an Excel Formula which shall provide how many customers are having coupon today.

  11. #11
    Forum Expert
    Join Date
    09-07-2014
    Location
    Israel
    MS-Off Ver
    office 365 for MAC
    Posts
    3,105

    Re: I want to pull out/extract data through Excel Formula

    Hi,
    I think it would be best if you apply the results you are expecting to see manually, in order figure out what's the best formula to employ. Thanks.
    Last edited by AliGW; 11-09-2023 at 07:53 AM. Reason: Please do NOT quote unnecessarily! Use the QUICK REPLY button instead.

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

    Re: I want to pull out/extract data through Excel Formula

    Quote Originally Posted by Limor_OP View Post
    Hi,
    If you want to count the "MATURED" cases for example - then you can use :
    =COUNTIF(L3:L12,"MATURED")

    Or you can make a pivotable like in the attached, filter the status you are interested to show and count the number of statuses.
    Hope this helps.
    "I have already made PIVOT but the problems is I need to mark each day the customers those are maturing or pre-maturing. Also I have to filter manually customers from the PIVOT those are likely to have coupon today. To avoid error in manual marking I want to apply excel formula on PIVOT to have details of customers those are having coupon date today in PIVOT".

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

    Re: I want to pull out/extract data through Excel Formula

    May I use this Formula:
    =IF(OR(I3="3-Years",I3="5-Years"),IF($L$1-F3=EDATE(F3,6),"1ST Coupon",IF($L$1-F3=EDATE(F3,12),"2ND Coupon",IF($L$1-F3=EDATE(F3,18),"3RD Coupon",IF($L$1-F3=EDATE(F3,24),"4TH Coupon",IF($L$1-F3=EDATE(F3,30),"5TH Coupon",IF($L$1-F3=EDATE(F3,36),"6TH Coupon","NO Coupon")))))))

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

    Re: I want to pull out/extract data through Excel Formula

    =IF(OR(AND(S3="3-Years",Q3<=EDATE(F3,36),S3="5-Years",Q3<=EDATE(F3,60))),EDATE(F3,6),0)

    Condition One: IF Issue date of Certificate is 3 Years & Maturity date is less than or equal to (within) 36 months then provide current coupon date
    Condition Two: IF Issue date of Certificate is 5 Years & Maturity date is less than or equal to (within) 60 months then provide current coupon date

    Thanks for your kind & prompt support.
    Attached Images Attached Images
    Last edited by Shahmeer; 11-09-2023 at 09:15 AM. Reason: Adding attachement

  15. #15
    Forum Expert
    Join Date
    09-07-2014
    Location
    Israel
    MS-Off Ver
    office 365 for MAC
    Posts
    3,105

    Re: I want to pull out/extract data through Excel Formula

    Hey,
    your formula looks great!
    so is this resolved for you or do you need any further help?

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

    Re: I want to pull out/extract data through Excel Formula

    No this formula is not working & I need help for setting following conditions to pull out coupon data on =Today() basis:

    Condition One: IF Issue date of Certificate is 3 Years & Maturity date is less than or equal to (within) 36 months then provide current coupon date
    Condition Two: IF Issue date of Certificate is 5 Years & Maturity date is less than or equal to (within) 60 months then provide current coupon date

    I am attaching excel sheet again Please help me to fix it for above conditions. Regards & Thanks.
    Attached Files Attached Files

  17. #17
    Forum Expert
    Join Date
    09-07-2014
    Location
    Israel
    MS-Off Ver
    office 365 for MAC
    Posts
    3,105

    Re: I want to pull out/extract data through Excel Formula

    Hi,
    please see attached condition 1 in column G
    =IF(AND(U3="3-years",IF(CHOOSE(1,S3<$X$1)=TRUE,DATEDIF(S3,$X$1,"M"),DATEDIF($X$1,S3,"M"))<=36),T3,"")

    condition 2 in column H:
    =IF(AND(U3="5-years",IF(CHOOSE(1,S3<$X$1)=TRUE,DATEDIF(S3,$X$1,"M"),DATEDIF($X$1,S3,"M"))<=60),T3,"")

    Let me know if the numbers make sense, the 2 formulas can be combined....
    Attached Files Attached Files

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

    Re: I want to pull out/extract data through Excel Formula

    Thanks for kind attention and support. Please fix this one as well:
    =IF(OR(U7="3-Years",U7="5-Years"),EDATE(F7,6),0)
    in this formula if Certificate is 3 years then it must provide coupon date till 6th Coupon and in 36 months
    In this formula if Certificate is 5 years then it must provide coupon date till 10th Coupon and in 60 months

    Regards,

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

    Re: I want to pull out/extract data through Excel Formula

    Quote Originally Posted by Shahmeer View Post
    Thanks for kind attention and support. Please fix this one as well:
    =IF(OR(U7="3-Years",U7="5-Years"),EDATE(F7,6),0)
    in this formula if Certificate is 3 years then it must provide coupon date till 6th Coupon and in 36 months
    In this formula if Certificate is 5 years then it must provide coupon date till 10th Coupon and in 60 months

    Regards,
    1).Please make it one formula for both conditions
    2).Further I want to pull out coupon date of any certificate as at =today() basis. So need to fix it like if I give date then Formula give me coupon of respective customer from Table.

    Thanks.

  20. #20
    Forum Expert
    Join Date
    09-07-2014
    Location
    Israel
    MS-Off Ver
    office 365 for MAC
    Posts
    3,105

    Re: I want to pull out/extract data through Excel Formula

    Here is the combined conditions:
    Please Login or Register  to view this content.
    Attached Files Attached Files

  21. #21
    Forum Expert
    Join Date
    09-07-2014
    Location
    Israel
    MS-Off Ver
    office 365 for MAC
    Posts
    3,105

    Re: I want to pull out/extract data through Excel Formula

    Quote Originally Posted by Shahmeer View Post
    1).
    2).Further I want to pull out coupon dateof any certificate as at =today() basis. So need to fix it like if I give date then Formula give me coupon of respective customer from Table.
    .
    Dont think I understand this one.
    please apply manually the expected results , Thanks.

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

    Re: I want to pull out/extract data through Excel Formula

    Actually I need to have a formula to apply on PIVOT to fetch those customers who have coupon date today based on Issue date and Tenor (3 Years & 5 Years). Its pre-requisite from start of this thread. Kindly, do the needful. Thanks

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

    Re: I want to pull out/extract data through Excel Formula

    Quote Originally Posted by Limor_OP View Post
    Here is the combined conditions:
    Please Login or Register  to view this content.
    The Above formula is giving error #NAME?
    what to do?

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

    Re: I want to pull out/extract data through Excel Formula

    =IF(OR(U7="3-Years",U7="5-Years"),EDATE(F7,6),0)
    in this formula if Certificate is 3 years then it must provide coupon date till 6th Coupon and in 36 months
    In this formula if Certificate is 5 years then it must provide coupon date till 10th Coupon and in 60 months

    You have not answered this? I think you are busy. Should I ask for help from others????

  25. #25
    Forum Expert
    Join Date
    09-07-2014
    Location
    Israel
    MS-Off Ver
    office 365 for MAC
    Posts
    3,105

    Re: I want to pull out/extract data through Excel Formula

    Quote Originally Posted by Shahmeer View Post
    The Above formula is giving error #NAME?
    what to do?
    How about now?
    Attached Files Attached Files

  26. #26
    Forum Expert
    Join Date
    09-07-2014
    Location
    Israel
    MS-Off Ver
    office 365 for MAC
    Posts
    3,105

    Re: I want to pull out/extract data through Excel Formula

    Quote Originally Posted by Shahmeer View Post
    Actually I need to have a formula to apply on PIVOT to fetch those customers who have coupon date today based on Issue date and Tenor (3 Years & 5 Years). Its pre-requisite from start of this thread.
    see column R
    =IF(SUM(1*(H3:Q3=$X$1))=0,"",B3)
    Attached Files Attached Files

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

    Re: I want to pull out/extract data through Excel Formula

    If we are standing on 09th Nov, 2013 then we must apply a Formula to have current coupon not first coupon. The formula must provide coupon based on today's date. Please look into.

  28. #28
    Forum Expert
    Join Date
    09-07-2014
    Location
    Israel
    MS-Off Ver
    office 365 for MAC
    Posts
    3,105

    Re: I want to pull out/extract data through Excel Formula

    what do you mean today's coupon? Please fill in the expected results manually as I don't think I understand your intent,

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

    Re: I want to pull out/extract data through Excel Formula

    Intent is clear apply both conditions in such a way that coupon No. wise according to the date of filtering information. Just simple.

  30. #30
    Forum Expert
    Join Date
    09-07-2014
    Location
    Israel
    MS-Off Ver
    office 365 for MAC
    Posts
    3,105

    Re: I want to pull out/extract data through Excel Formula

    If it's so simple - perhaps you are able to do it yourself : ))

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

    Re: I want to pull out/extract data through Excel Formula

    Quote Originally Posted by Shahmeer View Post
    =IF(OR(AND(S3="3-Years",Q3<=EDATE(F3,36),S3="5-Years",Q3<=EDATE(F3,60))),EDATE(F3,6),0)

    Condition One: IF Issue date of Certificate is 3 Years & Maturity date is less than or equal to (within) 36 months then provide current coupon date
    Condition Two: IF Issue date of Certificate is 5 Years & Maturity date is less than or equal to (within) 60 months then provide current coupon date

    Thanks for your kind & prompt support.
    How to find out which coupon is due today????? This was my initial and important problem in this exercise please do a favor. thanks

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

    Re: I want to pull out/extract data through Excel Formula

    Quote Originally Posted by Limor_OP View Post
    If it's so simple - perhaps you are able to do it yourself : ))
    I wish I could otherwise you would not be bothered here

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

    Re: I want to pull out/extract data through Excel Formula

    Quote Originally Posted by Limor_OP View Post
    If it's so simple - perhaps you are able to do it yourself : ))
    After all you are a genius Forum Expert

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

    Re: I want to pull out/extract data through Excel Formula

    Again Formula in Condition 1 Giving Name# error

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

    Re: I want to pull out/extract data through Excel Formula

    Quote Originally Posted by Limor_OP View Post
    see column R
    =IF(SUM(1*(H3:Q3=$X$1))=0,"",B3)
    Again Value# & Name# error in Column G Condition 1
    ????????

  36. #36
    Forum Expert
    Join Date
    09-07-2014
    Location
    Israel
    MS-Off Ver
    office 365 for MAC
    Posts
    3,105

    Re: I want to pull out/extract data through Excel Formula

    Dont worry I will help you, but please keep in mind that I'm only volunteering here, and do it in my spare time ...
    patience is a valuable thing... : )

    See column R:

    =IFERROR(INDEX($A$2:$Q$2,AGGREGATE(15,6,(COLUMN($H$2:$Q$2))/(H3:Q3=$X$1),1)),"")
    Attached Files Attached Files
    Last edited by Limor_OP; 11-09-2023 at 02:01 PM.

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

    Re: I want to pull out/extract data through Excel Formula

    Quote Originally Posted by Limor_OP View Post
    Dont worry I will help you, but please keep in mind that I'm only volunteering here, and do it in my spare time ...
    patience is a valuable thing... : )

    See column R:

    =IFERROR(INDEX($A$2:$Q$2,AGGREGATE(15,6,(COLUMN($H$2:$Q$2))/(H3:Q3=$X$1),1)),"")
    I appreciate your valuable effort and cooperation with me. Hatts Off.

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

    Re: I want to pull out/extract data through Excel Formula

    Again Value# & Name# error in Column G Condition 1
    ????????

    Please do something. Thanks

  39. #39
    Forum Expert
    Join Date
    09-07-2014
    Location
    Israel
    MS-Off Ver
    office 365 for MAC
    Posts
    3,105

    Re: I want to pull out/extract data through Excel Formula

    Quote Originally Posted by Shahmeer View Post
    Again Value# & Name# error in Column G Condition 1
    ????????
    see post #36 . It should work..

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

    Re: I want to pull out/extract data through Excel Formula

    Please combine these formulas and make a one for 3 years and 5 years:

    =IF(OR(U7="3-Years",U7="5-Years"),EDATE(F7,6),0)
    =IF(H7=0,0,EDATE(H7,6))

    Thank you

  41. #41
    Forum Expert
    Join Date
    09-07-2014
    Location
    Israel
    MS-Off Ver
    office 365 for MAC
    Posts
    3,105

    Re: I want to pull out/extract data through Excel Formula

    Try this:
    IF(OR(U7="3-Years",U7="5-Years"),EDATE(F7,6),IF(H7=0,0,EDATE(H7,6)))

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

    Re: I want to pull out/extract data through Excel Formula

    its not working.

  43. #43
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,904

    Re: I want to pull out/extract data through Excel Formula

    Please be specific!

+ 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] Error on VBA code for pull or extract data from HTML Element in Excel
    By rayhee1985 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 06-16-2020, 04:50 AM
  2. How to extract a list and pull only certain data
    By jphilipson in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 07-03-2019, 03:27 AM
  3. Excel novice needs help on a formula to pull data from seperate tab
    By edtwo0nine in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 04-20-2017, 09:09 AM
  4. [SOLVED] Extract/Pull specific data from URL's
    By fitkhan in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 09-05-2015, 11:18 AM
  5. [SOLVED] Excel does not pull value from the cell - appears to pull formula
    By enjoyexcel in forum Excel General
    Replies: 2
    Last Post: 01-06-2015, 11:42 AM
  6. [SOLVED] formula to pull data from another workbook in excel
    By Shellybelly in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 06-16-2013, 09:16 AM
  7. Replies: 3
    Last Post: 01-30-2013, 07:59 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