+ Reply to Thread
Results 1 to 15 of 15

Count Conversions to alternarte methods

  1. #1
    Forum Contributor
    Join Date
    03-28-2019
    Location
    Costa Rica
    MS-Off Ver
    2016
    Posts
    117

    Count Conversions to alternarte methods

    Hello,

    I have an e-commerce client with a set of data that would like to “count” the converted to alternate purchase method, recovered clients along with the purchase method and conversion/recovery made by.

    Converted to alternate purchase method = Clients who had a rejected/declined/error initial purchase attempt followed by a successful purchase with a different purchase method i.e initial failed purchase with credit card, followed by a successful purchase via Bitcoin
    Recovered = Clients who had a rejected/declined/error initial purchase attempt followed by a successful purchase using the same purchase method. i.e initial failed purchase with credit card, followed by a successful purchase via credit card.
    By = If the field has the clients name, it means the client did it himself, if the is a name is listed, it means the purchase was made by one of the agents.
    The request is to possible list the data in chronological order by client and the number of conversions and recoveries and the purchase method.

    I have attached a file with some of the data he is able to extract.

    The key to account conversions/recoveries is that there must be a decline followed by a successful.

    Sample:
    D = Decline Purchase
    S = Successful Purchase

    Client A on day X had a D, D, D, S, S, S, D, S, D,S, S, D,S
    Based on the purchase events and assuming that all Successful were using a different method (Bitcoin).

    We expect to generate a report with a summary like:

    Client A had 4 Bitcoin Conversions
    Or
    Client A had. 2 Bitcoin Conversions and 2 Credit card recoveries.
    Or
    Client A had 3 Bitcoins Conversions and 1 Credit card recovery
    O
    Client A had 4 Credit card recoveries.

    I would really appreciate if you let us know if we can achieve this with a formula or any SQL query.

    Thank you in advance
    Attached Files Attached Files

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,129

    Re: Count Conversions to alternarte methods

    For your sample file, please add your expected results. What do you want to see and where do tou expect to see it?
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU

  3. #3
    Forum Contributor
    Join Date
    03-28-2019
    Location
    Costa Rica
    MS-Off Ver
    2016
    Posts
    117

    Re: Count Conversions to alternarte methods

    Hello Glenn,

    Thank you for getting back.

    The sample has the expected results in columns J,K,L and M
    Basically, we would like to see 1's for recovered and converted to alternate purchases, the method it was recovered/converted and the by who. We believe by doing so, at the end of the day/week, we should be able to pivot the data and come up with totals.

    Once again, every help is highly appreciate it.

  4. #4
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,129

    Re: Count Conversions to alternarte methods

    Hi. I've been away. The reason that I asked was that you expected answers don't make sense!!

    See the purple cells in L&M and explain why? Also see the yellow cell and explain why Schultz and not Credit Card. I have (what I believe to be) correct formulae in J, K & N
    Attached Files Attached Files

  5. #5
    Forum Contributor
    Join Date
    03-28-2019
    Location
    Costa Rica
    MS-Off Ver
    2016
    Posts
    117

    Re: Count Conversions to alternarte methods

    Hello Glenn,

    Once again, thank you for your help.

    You are actually correct, in my original sample, the K10 was incorrect. That purchase was not converter rather recovered.
    Allow me to explain, in your file, the TRUE value should be on J10 as the successful purchase was made using the same method (Credit Card)
    The method (M10) should be Credit Card and the "by" should be D.Schultz. (My client can run cards on his website and over the phone, so in this case, the successful deposit was made in house by salesman D.Schultz) If the value on the Created by column is the same for the Client column it indicated that the purchase was made by the client itself no sales person had interaction.

    In your file, L13 and M13 same scenario, the TRUE value should be in J13. the Method M13 is correct and the by should be MB257534

    Row 7 you actually have it correct. The purchase was TRUE converted(from Credit Card to Crypto) and the method is TRUE Crypto, all we are missing is the by where the value should be BD552236.

    All Not recovered are correctly flagged, none of them had a successful purchase.

    I hope this helps and let me know if further clarification is needed.

  6. #6
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,129

    Re: Count Conversions to alternarte methods

    No. You are confusing the situation further by (as far as I can see) incorrectly referring to column J when you mean column K in my sheet. Isn't column J in my sheet OK?I simply don't understand why there should be ANYTHING in (on my sheet) K and N. So explain, what are the criteria to sometimes have a method of payment and sometimes a person's name...

    Please close all versions of your original sheet and look only at mine and tell me what's wrong... and WHY.

  7. #7
    Forum Contributor
    Join Date
    03-28-2019
    Location
    Costa Rica
    MS-Off Ver
    2016
    Posts
    117

    Re: Count Conversions to alternarte methods

    Hello Glenn

    Apologies for any confusion

    Looking at your sheet
    J Column is OK
    K Column is OK
    N Column is OK

    We just need to include a new column to indicate the "By Who" (the person that did the successful purchase)

    Thank you for all your help.

  8. #8
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,129

    Re: Count Conversions to alternarte methods

    Maybe like this:


    =IF(E2<>I2,I2,"")
    Attached Files Attached Files

  9. #9
    Forum Contributor
    Join Date
    03-28-2019
    Location
    Costa Rica
    MS-Off Ver
    2016
    Posts
    117

    Re: Count Conversions to alternarte methods

    Hello Glenn,

    You are very close and I really appreciate it. The formulas seem to work however the end result does not look as we expect.

    I will elaborate based on your latest sheet.

    Row 7 Column K is OK, Column N is OK, Column M is not, there should list the name of the "Created by" why? because it was the client who in his second attempt got the successful purchase. There was no sales person involved.

    Row 10. Column J should be "Recovered" as the "type" method is the same in both attempts. Column K is OK. Column L should be "Credit Card" and Column M is OK.

    Row 13 Same scenario in row 7, Columns k and L are OK yet Column M does not list the created by.

    Thanks

  10. #10
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,129

    Re: Count Conversions to alternarte methods

    nearly htere. Just column J is causing confusing:

    You say: "Row 10. Column J should be "Recovered" as the "type" method is the same in both attempts." So... whay

    The criteria seem to be emerging by drip-feeding:
    For each client (column D):
    Complete: blank
    Declined: Not recovered:
    Declined then complete: recovered???
    Error then complete: recovered??

    Any others, like:
    error
    error then declined then complete?
    error then declined then declined,
    etc, ctc, etc

    Please list criteria and result desired exactly as shown above.
    Attached Files Attached Files

  11. #11
    Forum Contributor
    Join Date
    03-28-2019
    Location
    Costa Rica
    MS-Off Ver
    2016
    Posts
    117

    Re: Count Conversions to alternarte methods

    Hello Glenn,

    Let me break it down.

    Transaction status Complete with NO previous Failed/Rejected/Decline/Error attempt: blank
    Failed/Rejected/Decline/Error with NO successful attempts (regardless of the type used): Not recovered:
    Declined then complete: recovered ONLY if the purchase method = Type (column F) is the same as the decline attempt. IF the type is other than the one in the decline then is a converted.
    Error then complete: recovered ONLY if the purchase method = Type (column F) is the same as the decline attempt. IF the type is other than the one in the decline then is a converted.


    Lets remember that these transactions are online/in house purchases made by clients.
    The Transaction Status column (column D) can be:

    Completed = a successful purchase
    Rejected = Failed purchase
    Decline = Failed purchase
    Error = Failed purchase
    Type = The method used to make the purchase (Credit Card, Crypto, ACH, Litecoin,Checks, etc)

    Let me know if this helps

  12. #12
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,129

    Re: Count Conversions to alternarte methods

    Are we there yet??
    Attached Files Attached Files

  13. #13
    Forum Contributor
    Join Date
    03-28-2019
    Location
    Costa Rica
    MS-Off Ver
    2016
    Posts
    117

    Re: Count Conversions to alternarte methods

    Yes. You got it right as expected.

    Thank you for your patience. I really really appreciate it.

  14. #14
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,129

    Re: Count Conversions to alternarte methods

    No problem. It took a while partly 'cos I've travelled through 3 countries in the last few days, so I haven't been cencentrating too well. But also I don't like being beaten!! Thanks for the rep.

  15. #15
    Forum Contributor
    Join Date
    03-28-2019
    Location
    Costa Rica
    MS-Off Ver
    2016
    Posts
    117

    Re: Count Conversions to alternarte methods

    Hello Glenn,

    Hope you are not travelling too much.

    After testing the formulas with a larger set of data, the results seem to be off.

    I am attaching a new spreadsheet with your formula and pointed out some of the discrepancies. Additionally, I updated the criteria for a better understanding

    No rush on this one. if you can help would be great.

    Thanks
    Attached Files Attached Files
    Last edited by mente73; 08-22-2019 at 01:41 PM.

+ 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. COUNT IF TEXT- Change from Non-LARC to LARC Methods
    By Marvin85 in forum Excel General
    Replies: 5
    Last Post: 10-06-2015, 10:29 PM
  2. Co-ord Conversions
    By stewman in forum Excel General
    Replies: 4
    Last Post: 12-03-2010, 04:05 PM
  3. Time conversions
    By SJMaye in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 07-09-2010, 11:11 AM
  4. Conversions
    By Kennyl in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 12-20-2007, 06:00 PM
  5. Conversions
    By Curious in forum Excel General
    Replies: 1
    Last Post: 02-21-2005, 07:06 PM
  6. Conversions
    By ICMIII in forum Excel General
    Replies: 2
    Last Post: 02-21-2005, 06:06 PM
  7. Conversions
    By craigwojo in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-14-2005, 05:28 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