google spreadsheet - Dimensions of a merged cell (as in number of cells merged vertically and horizontally) -


i trying make schedule in google spreadsheets. 1 of features want here have current activity highlighted based on time of day.

in formula below, understand a column contains times (first column on picture), , b column contains activities.

=and(b$1=upper(text(today(), "dddd")), (today()+$a2)<now(), (today()+$a2+(0.5/24))>now())

  • b$1=upper(text(today(), "dddd")) checks day indicated @ top of column today
  • (today()+$a2)<now() checks time more what's in a column on same line
  • (today()+$a2+(0.5/24))>now() checks time isn't more half hour past what's in a column on same line

using conditional formatting formula, obtain decent result (see picture), when reaches merged cell, it'll work first half hour (in picture, lunch highlighted 12:00pm 12:29pm).

enter image description here

to correct that, idea multiply 0.5/24 in last part of formula height (as in number of cells in height) of merged cell

is there way in google spreadsheets?


Comments

Popular posts from this blog

java - Date formats difference between yyyy-MM-dd'T'HH:mm:ss and yyyy-MM-dd'T'HH:mm:ssXXX -

c# - Get rid of xmlns attribute when adding node to existing xml -