+ Reply to Thread
Results 1 to 6 of 6

Lookup for a result in a row obtained by mail

  1. #1
    Registered User
    Join Date
    10-26-2021
    Location
    France
    MS-Off Ver
    Office 365
    Posts
    4

    Lookup for a result in a row obtained by mail

    Hello everyone,

    I want to facilitate backup monitoring of several client. I received a mail with the result of a backup (Success, Warning or Failed) with the name of the client, the name of the backup and the date. I tried a lot of solution but I'm not even sure that I can do what I am looking for.
    In my Table, I succeed to extract all information that I need in multiple column and concatenate some to try the vlookup function. For exemple, I received this mail "Name1 [Failed] 2.BK-BIS" with the date 2021-10-21. "Name1" is a client, "2.BK-BIS" is the name of the backup.
    I have a column with all mail from backup (I used Microsoft Flow to export them on Excel), and I need that the result "Failed" is automatically copy in my 2nd sheet, in the correct column (date) and the correct row (Client and Backup Name).
    Do someone think that what I am trying to do is possible with Excel ?

    Thank you very much !
    Attached Files Attached Files
    Last edited by Shacoh; 10-27-2021 at 10:53 AM.

  2. #2
    Forum Expert
    Join Date
    10-10-2016
    Location
    Sheffield
    MS-Off Ver
    365 and rarely 2016
    Posts
    3,212

    Re: Lookup for a result in a row obtained by mail

    In b4 =IF(COUNTIFS(Sheet1!$E$2:$E$5,Sheet2!$A4,Sheet1!$I$2:$I$5,Sheet2!B$2,Sheet1!$L$2:$L$5,"failed"),"failed","")

    but you have a fail and a success on the same day, would you want to return this?

  3. #3
    Registered User
    Join Date
    10-26-2021
    Location
    France
    MS-Off Ver
    Office 365
    Posts
    4

    Re: Lookup for a result in a row obtained by mail

    Thanks a lot for your answer and your time.

    I tried your formula, but it return an error "too much argument" (perhaps I did a mistake because I have to translate the formula in FR, like changing "," for ";" and the name of all functions).

    I will only have one result everyday for one client/backup. I will never have a fail and a success for the same backup name.

  4. #4
    Registered User
    Join Date
    10-26-2021
    Location
    France
    MS-Off Ver
    Office 365
    Posts
    4

    Re: Lookup for a result in a row obtained by mail

    Actually, it was my fault. I did not translate the formula correctly. It is working perfectly, thanks a lot !
    Is there a way to add every possible result in the formula ? (it work for "Failed", and I would like "Success" and "Warning" too, if it is possible)

  5. #5
    Forum Expert
    Join Date
    10-10-2016
    Location
    Sheffield
    MS-Off Ver
    365 and rarely 2016
    Posts
    3,212

    Re: Lookup for a result in a row obtained by mail

    IF each combination of date and client is unique (it is not in your sample) =IFERROR(LOOKUP(2,1/((Sheet1!$E$2:$E$5=Sheet2!$A4)*(Sheet1!$I$2:$I$5=Sheet2!B$2)),Sheet1!$L$2:$L$5),"")
    might work

    but lines 4 and 5
    Name2 4.BK-DDE
    21/10/2021


    they took place as different times but which one would you use?
    Last edited by davsth; 10-27-2021 at 09:40 AM.

  6. #6
    Registered User
    Join Date
    10-26-2021
    Location
    France
    MS-Off Ver
    Office 365
    Posts
    4

    Re: Lookup for a result in a row obtained by mail

    I did the mistake while I was trying to anonymized my data, sorry for that. But yes, each combination date/client is unique. Your formula is working wonderfully.

    Thank you very much, you saves me tons of time, I really appreciate your precious help.

+ 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] Lookup result with 2 variables and copy the result formatting
    By hazeljohn19 in forum Excel General
    Replies: 9
    Last Post: 12-15-2020, 12:16 PM
  2. [SOLVED] Average Result Mail Merge From Excel to Word
    By cosmica67 in forum Word Formatting & General
    Replies: 1
    Last Post: 12-17-2019, 05:59 PM
  3. Mail merge to get view all result in one time
    By jitendras in forum Word Formatting & General
    Replies: 4
    Last Post: 07-18-2017, 06:11 PM
  4. Replies: 4
    Last Post: 12-31-2015, 04:32 AM
  5. Replies: 4
    Last Post: 07-28-2014, 09:12 AM
  6. Replies: 2
    Last Post: 03-07-2012, 03:16 PM
  7. Replacing #N/A response when obtained in Lookup function
    By CochranConsult in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 06-26-2006, 11:10 AM

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