+ Reply to Thread
Results 1 to 4 of 4

Populate Error Message

  1. #1
    Forum Contributor
    Join Date
    06-10-2012
    Location
    UAE
    MS-Off Ver
    Excel 2016
    Posts
    132

    Populate Error Message

    Hello guys,

    i have the attached Excel which works fine.
    it's a Planning tool that i use in order to visualize appointment from a table.

    what i would like to add to this is an error message that will display if i book 2 appointments at the same time on the same desk.

    in the file for example i have booked company Delta and Charly same day, dame location, same desk with overlapping times

    what do you think the best way to do that would be?

    Thank you
    Attached Files Attached Files

  2. #2
    Forum Expert tim201110's Avatar
    Join Date
    10-23-2011
    Location
    Russia
    MS-Off Ver
    2016, 2019
    Posts
    2,357

    Re: Populate Error Message

    in row 10 and down
    =SUM(((J10=$J$9:J9)*(I10=$I$9:I9)*IFERROR((IF(E10+H10>$E$9:E9+$H$9:H9,$E$9:E9+$H$9:H9,E10+H10)-IF(E10+F10>$E$9:E9+$F$9:F9,E10+F10,$E$9:E9+$F$9:F9))^0.5,)>0)*ROW($A$1:A1))
    as array formula
    looks through rows above and returns row#, if there is overlap with it

  3. #3
    Forum Contributor
    Join Date
    06-10-2012
    Location
    UAE
    MS-Off Ver
    Excel 2016
    Posts
    132

    Re: Populate Error Message

    Hey Tim,

    Tried to apply the formula but i am not able to make it work, nothing shows up on the right hand side.

  4. #4
    Forum Expert tim201110's Avatar
    Join Date
    10-23-2011
    Location
    Russia
    MS-Off Ver
    2016, 2019
    Posts
    2,357

    Re: Populate Error Message

    uploaded the file
    Attached Files Attached Files

+ 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] Replace error message with text message
    By Aland2929 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-30-2017, 02:37 AM
  2. An error message on open - a totally blank VBA message box
    By Mr_Tigas in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-05-2013, 11:29 AM
  3. Error Message For Function Procedure WITHOUT using a message box
    By bmr8002 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-08-2012, 02:01 PM
  4. When i click the sheet The message box should populate
    By karthisucc9 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-29-2012, 03:59 AM
  5. Replacing run time error message with a different message
    By penny in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 12-14-2009, 10:51 AM
  6. [SOLVED] replace VBA run-time error message with custom message
    By BEEJAY in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 07-14-2006, 11:05 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