+ Reply to Thread
Results 1 to 18 of 18

If blank between a range put output "Check here" [Picture included]

  1. #1
    Registered User
    Join Date
    10-06-2023
    Location
    Singapore
    MS-Off Ver
    2021
    Posts
    27

    If blank between a range put output "Check here" [Picture included]

    Here's an picture illustration. Any help is appreciated!Untitled123a.png

    There's like 100 of rows with different range. sometimes it's tue - sat, sometimes mon - fri. sometimes wed - sat.

    So the formula has to be dynamic such that it works when i fill down. Is this possible?

    Week Blank Inbetween Check.xlsx
    Last edited by hewonoy; 05-24-2024 at 03:02 AM.

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2504 (Windows 11 Home 24H2 64-bit)
    Posts
    90,985

    Re: If blank between a range put output "Check here" [Picture included]

    Why are there only TWO 'Check Heres'? Should there be more? For example, row 591? How does Excel knoiw which should be the start and end days???
    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. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

  3. #3
    Registered User
    Join Date
    10-06-2023
    Location
    Singapore
    MS-Off Ver
    2021
    Posts
    27

    Re: If blank between a range put output "Check here" [Picture included]

    that's just a sample. i want a formula that actually outputs "Check here" for me for that column instead .

    Start and End days are simple.

    The first value that isn't empty = Start day.
    The last value that isn't empty = End day.

    Let's take a look at the last row in the picture as an example.

    Start day = Thursday
    End day = Sat

    Although, naturally there isn't an issue for this row since there is no blank cells inbetween start and end days. So we don't need "Check here" for that row.
    Last edited by hewonoy; 05-24-2024 at 01:50 AM.

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2504 (Windows 11 Home 24H2 64-bit)
    Posts
    90,985

    Re: If blank between a range put output "Check here" [Picture included]

    Row 591:

    AliGW on MS365 Beta Channel (Windows 11) 64 bit

    Q
    R
    S
    T
    U
    V
    W
    591
    Mon
    Tue
    Thu
    Fri
    Sat
    Sheet: Sheet1

    Wednesday is missing. Why should it not be flagged? There are other rows like this. I am not confident of the integrity of your sample workbook, which needs to be 100% accurate.

  5. #5
    Registered User
    Join Date
    10-06-2023
    Location
    Singapore
    MS-Off Ver
    2021
    Posts
    27

    Re: If blank between a range put output "Check here" [Picture included]

    yes it has to be flagged. again, the 2 "Check here" is only a sample. There needs a formula that once it flags let's say row 591, the formula will output "Check here" instead.

    If it helps, just delete the "Check here" you see. everything in that column has to be formula and only output "Check here" if issue is flagged (those 2 values in the uploaded file are just reference to give an idea of the output if flagged)

  6. #6
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2504 (Windows 11 Home 24H2 64-bit)
    Posts
    90,985

    Re: If blank between a range put output "Check here" [Picture included]

    It does NOT help to provide sample data that does not show all the expected results! Please don't do this again.

    In Y583:

    =BYROW(Q583:W613,LAMBDA(x,LET(r,IFNA(XMATCH(Q$2:W$2,x),"|"),l,MIN(r),h,MAX(r),s,SEQUENCE(,h,l),f,FILTER(r,r<>"|"),tf,IFERROR(s=f,""),IF(SUMPRODUCT((tf=FALSE)*(tf<>""))>0,"Check Here",""))))

    Change the range in RED to suit.
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    10-06-2023
    Location
    Singapore
    MS-Off Ver
    2021
    Posts
    27

    Re: If blank between a range put output "Check here" [Picture included]

    oh no... is this formula only for excel 365? i got #NAME? error

  8. #8
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2504 (Windows 11 Home 24H2 64-bit)
    Posts
    90,985

    Re: If blank between a range put output "Check here" [Picture included]

    Yes, of course - that is what your forum profile says. If you need this to work in an older version , then you need to change your forum profile to the OLDEST version that any solution must work with.

    Please don't blame me - NOWHERE did you say that it had to work with an older version, so why would I not use 365 functions?

    I have worked quite hard on this for you, so if you have not already done so, remember that you can reward anyone who offered you help towards a solution for your issue by clicking the small star icon (* Add Reputation) located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of each of those who offered help.

  9. #9
    Registered User
    Join Date
    10-06-2023
    Location
    Singapore
    MS-Off Ver
    2021
    Posts
    27

    Re: If blank between a range put output "Check here" [Picture included]

    I added your reputation. but i haven't change the post to solved yet since i'm hoping someone else can help me out with older formula

  10. #10
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2504 (Windows 11 Home 24H2 64-bit)
    Posts
    90,985

    Re: If blank between a range put output "Check here" [Picture included]

    Thanks - please make sure that you don't waste our time in future like this.

    You can't have a SPILL (dynamic) formula with 2019. I might have another look later, but I think someone else will have to help, as I don't have Excel 2019 for testing.

  11. #11
    Registered User
    Join Date
    10-06-2023
    Location
    Singapore
    MS-Off Ver
    2021
    Posts
    27

    Re: If blank between a range put output "Check here" [Picture included]

    I tried to check my excel version and i googled Filter function and google says it is excel 2021.

    and i can use filter function so i think mine is 2021 excel. sorry this excel versions are complicated...

  12. #12
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2504 (Windows 11 Home 24H2 64-bit)
    Posts
    90,985

    Re: If blank between a range put output "Check here" [Picture included]

    No, they really aren't!

    In Excel, go to File > Account and it will tell you right there which version you have. Please check again and make sure that your profile is accurate.

    Also, bookmark this page: https://bettersolutions.com/excel/fu...-functions.htm

  13. #13
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2504 (Windows 11 Home 24H2 64-bit)
    Posts
    90,985

    Re: If blank between a range put output "Check here" [Picture included]

    This SHOULD work in 2021, but you have to drag copy it down:

    =LET(r,IFNA(XMATCH(Q$2:W$2,Q583:W583),"|"),l,MIN(r),h,MAX(r),s,SEQUENCE(,h,l),f,FILTER(r,r<>"|"),tf,IFERROR(s=f,""),IF(SUMPRODUCT((tf=FALSE)*(tf<>""))>0,"Check Here",""))
    Attached Files Attached Files

  14. #14
    Registered User
    Join Date
    10-06-2023
    Location
    Singapore
    MS-Off Ver
    2021
    Posts
    27

    Re: If blank between a range put output "Check here" [Picture included]

    mine says "Microsoft® Excel® for Microsoft 365 MSO (Version 2111 Build 16.0.14701.20254) 64-bit "

    but i can't use M365 formulas. also i'm not allowed to update it since it requires admin access and i don't have it

  15. #15
    Registered User
    Join Date
    10-06-2023
    Location
    Singapore
    MS-Off Ver
    2021
    Posts
    27

    Re: If blank between a range put output "Check here" [Picture included]

    Omg thank you!!! This works very well

  16. #16
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2504 (Windows 11 Home 24H2 64-bit)
    Posts
    90,985

    Re: If blank between a range put output "Check here" [Picture included]

    See post #13.

    If that takes care of your original question, please choose Thread Tools from the menu link above and mark this thread as SOLVED. You can also access the SOLVED tag by editing the opening post and choosing SOLVED from the drop-down to the left of the title box.

  17. #17
    Registered User
    Join Date
    10-06-2023
    Location
    Singapore
    MS-Off Ver
    2021
    Posts
    27

    Re: If blank between a range put output "Check here" [Picture included]

    done. it works very well. thank you!!

  18. #18
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2504 (Windows 11 Home 24H2 64-bit)
    Posts
    90,985

    Re: If blank between a range put output "Check here" [Picture included]

    You're welcome. I am glad it was not for nothing!

+ 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: 2
    Last Post: 03-16-2021, 02:11 PM
  2. [SOLVED] Check range and if 1 line has "Yes" all lines of the same get "Yes"
    By rpinxt in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 06-26-2018, 08:56 AM
  3. [SOLVED] Copy cells from range "C3" to "F3" with loop and blank field
    By masterm in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-16-2015, 01:03 PM
  4. Replies: 5
    Last Post: 01-23-2014, 11:02 AM
  5. Replies: 3
    Last Post: 02-16-2011, 02:55 PM
  6. [SOLVED] create links to check boxes marked "good" fair"and "bad"
    By pjb in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-19-2006, 09:25 PM
  7. Replies: 3
    Last Post: 10-25-2005, 07:05 PM

Tags for this Thread

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