+ Reply to Thread
Results 1 to 13 of 13

Array formula that returns certain text based on the occurrence of values in another colum

  1. #1
    Registered User
    Join Date
    09-10-2019
    Location
    New York, NY
    MS-Off Ver
    Office 365
    Posts
    15

    Array formula that returns certain text based on the occurrence of values in another colum

    Notebooks always take precedence. Extra desktops are the only type of machines that will be going into storage.
    Attached Images Attached Images
    Attached Files Attached Files
    Last edited by Harlemite; 09-11-2019 at 08:10 PM. Reason: Added attachment and clarification

  2. #2
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: Array formula that returns certain text based on the occurrence of values in another c

    Hello and welcome to the forum.

    What about "Update and Migrate" and "Trash" in column F?

    It helps if you upload an actual Excel workbook rather than just a picture of one. This way we do not have to recreate your data.

    I recommend uploading a small representative sample of your data along with the desired results (which you can enter manually) based on that data.

    To upload an Excel workbook, follow these steps:
    1) Click on "Go Advanced"
    2) Click on "Manage Attachments"
    3) Click on "Choose File"
    4) Choose your file and click on "Open"
    5) Click on "Upload"
    6) Click on "Close this window"

  3. #3
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: Array formula that returns certain text based on the occurrence of values in another c

    Also, should notebooks always take precedence over a desktop as shown in rows 10 and 11 in your sample from post #1?

    In other words, if a user has both a desktop and a notebook ready, should the desktop always be the one to go into storage?

  4. #4
    Registered User
    Join Date
    09-10-2019
    Location
    New York, NY
    MS-Off Ver
    Office 365
    Posts
    15

    Re: Array formula that returns certain text based on the occurrence of values in another c

    Hi! Thank you very much for your reply. I really appreciate it. My apologies, I should have known to attach a spreadsheet. I will do so when I get home in a couple of hours as I don’t have access to post externally on my work computer. I had to recreate this sample of the spreadsheet at home just to post it on the forum.

    I already have a really complicated nested if formula in Column F for disposition to account for Trash, Update and Migrated and many other categories not reflected in the sample for simplicity, but haven’t been able to figure out how to get storage category.

  5. #5
    Registered User
    Join Date
    09-10-2019
    Location
    New York, NY
    MS-Off Ver
    Office 365
    Posts
    15

    Re: Array formula that returns certain text based on the occurrence of values in another c

    Yes, notebooks always take precedence. Extra desktops are the only type of machines that will be going into storage.

  6. #6
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: Array formula that returns certain text based on the occurrence of values in another c

    You can try this in F3:

    =IF(SUM(COUNTIFS(B$3:B3,B3,C$3:C3,"Ready",D$3:D3,{"Desktop","Notebook"}))>1,"Storage",IF(AND(C3="Ready",E3="Migrated"),"Migrated",IF(C3="Replace","Trash","Update and Migrate")))

    I made a few assumptions.

    Edit: Just saw your last post. This formula will need to be reworked.

  7. #7
    Registered User
    Join Date
    09-10-2019
    Location
    New York, NY
    MS-Off Ver
    Office 365
    Posts
    15

    Re: Array formula that returns certain text based on the occurrence of values in another c

    For some reason, I’m unable to add an attachment. I just get a little white box when I click on the attachment icon and no ability to browse for file.

  8. #8
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: Array formula that returns certain text based on the occurrence of values in another c

    That is because the 'paperclip' icon has not worked for some time.

    Follow instead the steps 63fd posted in #2.
    Dave

  9. #9
    Registered User
    Join Date
    09-10-2019
    Location
    New York, NY
    MS-Off Ver
    Office 365
    Posts
    15

    Re: Array formula that returns certain text based on the occurrence of values in another c

    Ohhhh. Duh. Thank you very much. The spreadsheet sample is now attached.
    Attached Files Attached Files

  10. #10
    Registered User
    Join Date
    09-10-2019
    Location
    New York, NY
    MS-Off Ver
    Office 365
    Posts
    15

    Re: Array formula that returns certain text based on the occurrence of values in another c

    Here's the spreadsheet snippet.
    Attached Files Attached Files

  11. #11
    Forum Expert azumi's Avatar
    Join Date
    12-10-2012
    Location
    YK, Indonesia
    MS-Off Ver
    Excel 2019
    Posts
    2,367

    Re: Array formula that returns certain text based on the occurrence of values in another c

    What is your expected results from your data?

  12. #12
    Registered User
    Join Date
    09-10-2019
    Location
    New York, NY
    MS-Off Ver
    Office 365
    Posts
    15

    Re: Array formula that returns certain text based on the occurrence of values in another c

    My expected results are in Column F

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

    Re: Array formula that returns certain text based on the occurrence of values in another c

    From post #4: "I already have a really complicated nested if formula in Column F for disposition to account for Trash, Update and Migrated and many other categories not reflected in the sample for simplicity, but haven’t been able to figure out how to get storage category."
    Please show us the formula as we may be able to modify it instead of starting from scratch.
    Let us know if you have any questions.
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

+ 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. Conditional Formatting Text based on array values of adjacent array.
    By Quasar82 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-27-2017, 09:54 AM
  2. [SOLVED] Trying to find values from colum and row, from table array
    By B.W.B. in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-15-2016, 10:09 AM
  3. [SOLVED] Formula that returns values based on criteria
    By dks345 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 01-10-2013, 08:48 AM
  4. [SOLVED] Colum count based ón values In colum a and b
    By 2001jesper in forum Excel General
    Replies: 16
    Last Post: 11-05-2012, 03:28 PM
  5. Replies: 0
    Last Post: 04-09-2012, 09:23 PM
  6. return row for nth occurrence of text in array
    By Greg777 in forum Excel General
    Replies: 3
    Last Post: 11-03-2010, 12:37 AM
  7. Replies: 2
    Last Post: 07-10-2008, 05:53 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