+ Reply to Thread
Results 1 to 20 of 20

Change Formula Result If Adjacent Cell Blank

  1. #1
    Registered User
    Join Date
    09-26-2020
    Location
    Pakistan
    MS-Off Ver
    2016
    Posts
    11

    Change Formula Result If Adjacent Cell Blank

    Explanation:

    My attached data (Excel Problem.xlsx) consisting 3 fields i.e. Order #, Actual Dispatch Plan and Tentative Production Plan. I am using CSE formula.
    The Actual dispatch plan is being calculated on the basis of maximum date of Tentative production plan field.
    Like, for Order # 203, the maximum production date is 8th October, so Actual dispatch plan is 8th Oct, likewise 188 = 12th Oct and so on….


    Problem:


    If there is blank of text in the Tentative Production Plan field, the Actual plan should display "Input Date", but in my case it is also showing date.
    Attached Files Attached Files
    Last edited by AliGW; 09-27-2020 at 05:49 AM.

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

    Re: Problem with CSE formula (array formula)

    Is this what you want?

    =IF(H4="","Input Date",MAX(IF($A$4:$A$16=$A4,$C$4:$C$16)))

    Administrative Note:

    Welcome to the forum.

    We would very much like to help you with your query, however the thread title does not really convey what your request is about. Tell us what you are trying to do, not how you think it should be done.

    Please take a moment to amend your thread title. Make sure that the title properly explains your request. Your title should be explicit and not be generic (this includes function names used without an indication of what you are trying to achieve).

    Please see Forum Rule #1 about proper thread titles and adjust accordingly. To edit the thread title, open the original post to edit and then click on Go Advanced (bottom right) to access the area where you can edit your title.

    (Note: this change is not optional. As you are new, I will do this for you today.)
    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
    Registered User
    Join Date
    09-26-2020
    Location
    Pakistan
    MS-Off Ver
    2016
    Posts
    11

    Re: Change Formula Result If Adjacent Cell Blank

    AliGW

    Thanks for your support and guidance.

    However, the given solution is only changed current cell which adjacent cell is blank, in my case it is G5 & G10, however, what i need is to change all cells with similar order number. Furthermore, also this will work not only for blank but text input cells.

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

    Re: Change Formula Result If Adjacent Cell Blank

    OK, well in that case, you need to be MUCH clearer about what you want.

    You have told me that it doesn't work for two conditions that you did not state in your opening post. Provide an updated workbook that accounts for all cases.

  5. #5
    Registered User
    Join Date
    09-26-2020
    Location
    Pakistan
    MS-Off Ver
    2016
    Posts
    11

    Re: Change Formula Result If Adjacent Cell Blank

    I am updating my workbook with more explanation. Kindly guide.
    Last edited by msohail9; 09-27-2020 at 06:44 AM. Reason: uploading file

  6. #6
    Registered User
    Join Date
    09-26-2020
    Location
    Pakistan
    MS-Off Ver
    2016
    Posts
    11

    Re: Change Formula Result If Adjacent Cell Blank

    did you get the file. I can't see here, evenif i have attached it twice.

  7. #7
    Forum Guru
    Join Date
    02-27-2016
    Location
    Vietnam
    MS-Off Ver
    2016
    Posts
    5,899

    Re: Change Formula Result If Adjacent Cell Blank

    Maybe like this?

    =IFERROR(AGGREGATE(14,6,$C$4:$C$16/($C$4:$C$16>0)/($A$4:$A$16=A4),1),"Input Date")

  8. #8
    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,393

    Re: Change Formula Result If Adjacent Cell Blank

    No, you have not attached an updated workbook - you would be able to see it if you had.

  9. #9
    Registered User
    Join Date
    09-26-2020
    Location
    Pakistan
    MS-Off Ver
    2016
    Posts
    11

    Re: Change Formula Result If Adjacent Cell Blank

    I am re-attaching my file here. problem is once again mentioned in the file clearly. please check and guide.
    Attached Files Attached Files

  10. #10
    Registered User
    Join Date
    09-26-2020
    Location
    Pakistan
    MS-Off Ver
    2016
    Posts
    11

    Re: Change Formula Result If Adjacent Cell Blank

    Sir, it is also not working.

  11. #11
    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,393

    Re: Change Formula Result If Adjacent Cell Blank

    Try this:

    =IF(OR(ISTEXT(N4),N4=""),"Input Date",MAX(IF($A$4:$A$16=$A4,$C$4:$C$16)))

  12. #12
    Registered User
    Join Date
    09-26-2020
    Location
    Pakistan
    MS-Off Ver
    2016
    Posts
    11

    Re: Change Formula Result If Adjacent Cell Blank

    I appreciate your efforts, however, this is also not working.

  13. #13
    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,393

    Re: Change Formula Result If Adjacent Cell Blank

    It is working and it does exactly what you said you wanted. Provide a workbook showing what you want (mocked up, not a description).

  14. #14
    Registered User
    Join Date
    09-26-2020
    Location
    Pakistan
    MS-Off Ver
    2016
    Posts
    11

    Re: Change Formula Result If Adjacent Cell Blank

    workbook is attached.
    Attached Files Attached Files

  15. #15
    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,393

    Re: Change Formula Result If Adjacent Cell Blank

    Sorry - I don't understand the issue. You have still provided a table with formulae. I asked for a MANUALLY MOCKED UP (i.e. NO formulae) table showing what you want.

  16. #16
    Registered User
    Join Date
    09-26-2020
    Location
    Pakistan
    MS-Off Ver
    2016
    Posts
    11

    Re: Change Formula Result If Adjacent Cell Blank

    Your given formula is changing only one cell, adjacent to the blank or text in it, however, i want to change the whole list of the same order number.

  17. #17
    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,393

    Re: Change Formula Result If Adjacent Cell Blank

    Provide a mock-up of what you want.

  18. #18
    Registered User
    Join Date
    09-26-2020
    Location
    Pakistan
    MS-Off Ver
    2016
    Posts
    11

    Re: Change Formula Result If Adjacent Cell Blank

    Mock up for Excel Problem.JPG

    Mock up is given. please guid.

  19. #19
    Forum Guru
    Join Date
    02-27-2016
    Location
    Vietnam
    MS-Off Ver
    2016
    Posts
    5,899

    Re: Change Formula Result If Adjacent Cell Blank

    Try this:

    Please Login or Register  to view this content.

  20. #20
    Registered User
    Join Date
    09-26-2020
    Location
    Pakistan
    MS-Off Ver
    2016
    Posts
    11

    Re: Change Formula Result If Adjacent Cell Blank

    Thank you sooo much.... Phuocam.... your given formula is working perfect..... so nice of you...

+ 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] Problem with my VBA array formula
    By macrorookie in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 08-31-2016, 09:32 PM
  2. A problem in array formula
    By ieumts in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-30-2014, 08:31 AM
  3. [SOLVED] Array formula problem
    By steveg666 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 03-08-2013, 03:43 AM
  4. Array formula problem
    By MBCXLQ in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-17-2006, 02:16 PM
  5. [SOLVED] Array formula problem
    By Constance in forum Excel General
    Replies: 3
    Last Post: 08-22-2006, 01:10 PM
  6. Array Formula Problem
    By rmolitor in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 12-02-2005, 02:35 PM
  7. Array Formula Problem
    By Taboard in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 03-21-2005, 12:56 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