+ Reply to Thread
Results 1 to 8 of 8

(Array formula) A cell populates a certain text if another cell is filled (or has a date)

  1. #1
    Registered User
    Join Date
    09-27-2021
    Location
    Atlanta
    MS-Off Ver
    365
    Posts
    4

    (Array formula) A cell populates a certain text if another cell is filled (or has a date)

    Hey all,

    I am trying to remember the syntax for an array formula that populates cells in a column if another cell is not empty, preferably with a date. This sounds so simple, but I can't seem to find this in any search query. Let me describe first with a visual, then explain:

    example.png

    The formula should be in A1.
    If B2 is populated, B1 should say a particular text. (I.e. "Shipped")
    If C2 is populated, the text in B1 should change to another text. (I.e. "Received")

    This should be a singular array formula that works the same on the next rows.

    Any suggestions are greatly appreciated! Thank you!
    Last edited by Alchemancy; 09-28-2021 at 05:26 AM.

  2. #2
    Forum Expert
    Join Date
    09-30-2019
    Location
    Chiangmai, Thailand
    MS-Off Ver
    Office 2016, Excel 2019
    Posts
    1,234

    Re: (Array formula) A cell populates a certain text if another cell is filled (or has a da

    Could you please upload a sample workbook with the wanted result (see yellow banner above).
    I don't understand a very long text. T_T

    Regards.

  3. #3
    Registered User
    Join Date
    09-27-2021
    Location
    Atlanta
    MS-Off Ver
    365
    Posts
    4

    Re: (Array formula) A cell populates a certain text if another cell is filled (or has a da

    Hi Menem,

    I'm trying to make a formula similar to:

    ={"Status";ARRAYFORMULA(IF(isblank,false,(B2),B1,"Text here",(C2),C1,"Text here"))}

    This is not correct, but I want to know the correct syntax.

    The attachments feature doesn't work so I can't upload an example sheet. Sorry?

    screenshot.png
    Attached Images Attached Images
    Last edited by Alchemancy; 09-28-2021 at 05:31 AM.

  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,898

    Re: (Array formula) A cell populates a certain text if another cell is filled (or has a da

    ARRAYFORMULA is Google Sheets function, so why did you post in the Excel section???

    There are instructions at the top of the page explaining how to attach your sample workbook. YOU NEED TO FOLLOW THEM!
    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.

  5. #5
    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
    28,207

    Re: (Array formula) A cell populates a certain text if another cell is filled (or has a da

    If you follow the instruction on the yellow banner at the top of the page you should be able to upload a workbook

    I believe ARRAYFORMULA is a Google function so are you looking for a Google solution and/or Excel equivalent?
    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

  6. #6
    Registered User
    Join Date
    09-27-2021
    Location
    Atlanta
    MS-Off Ver
    365
    Posts
    4

    Re: (Array formula) A cell populates a certain text if another cell is filled (or has a da

    Okay yes. I will need the Excel equivalent of an array formula, not the Google sheets. Please see attached.
    Attached Files Attached Files

  7. #7
    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
    28,207

    Re: (Array formula) A cell populates a certain text if another cell is filled (or has a da

    Please add some expected results as there are multiple columns (customers) with same date

  8. #8
    Registered User
    Join Date
    09-27-2021
    Location
    Atlanta
    MS-Off Ver
    365
    Posts
    4

    Re: (Array formula) A cell populates a certain text if another cell is filled (or has a da

    I suppose the date themselves don't matter as much as the cell itself being populated. Not sure if this is better served as a ISBLANK or ISDATE, but I just want the A column cells to say certain "text" if the B and C columns of the same row get populated, dates or no.

+ 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. Replies: 4
    Last Post: 06-25-2019, 03:59 PM
  2. [SOLVED] array minimum date if text from one cell is found in another cell
    By sinkerballer in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 04-26-2017, 02:45 PM
  3. [SOLVED] VBA populates cell with text some bold
    By mnadamn19 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-18-2016, 09:27 PM
  4. Input text in one cell and it populates another cell with different text
    By roseyj in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 10-11-2016, 03:13 AM
  5. Replies: 5
    Last Post: 12-28-2014, 08:35 PM
  6. Replies: 3
    Last Post: 04-29-2013, 04:09 PM
  7. Replies: 2
    Last Post: 09-10-2009, 05:40 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