Log. Need to work on g.sheets

Agnarr

New Member
Joined
Jan 15, 2023
Messages
28
Office Version
  1. 365
Platform
  1. Windows
Hello everyone!

I implore your help.
I have a diet log for an office and looks like below. Now there's conditional Formatting to change the colors of the cells according to min and max values i had in column T. (calories, protein, sleep, water, steps, etc)
Now the problem is that they need it the sheet to be able to change the colors after they change the base values.
For example Starting off on 01/01/2024 they had base value for calories 1800 and protein at 170. On 14/01/2024 they changed the value of calories at 1700 and protein remained at 170. They need all cells colored with the initial values to remain like they were, and from 14/01 until they change something again, to be colored according to the new base values... Is something like that even possible to be also working in google sheets?
Is it possible only with VBA?
Please help...
Progress Tracking Sheet.xlsx
ABCDEFGHIJKLMNOPQRST
245
246MondayTuesdayWednesdayThursdayFridaySaturdaySunday
24729/01/202430/01/202431/01/202401/02/202402/02/202403/02/202404/02/2024
248WEEK 0Work Schedule DayOff09:0017:0009:0018:0013:0021:0009:0017:00VacationTimeSolTag
249WorkOut----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
250Meal1M--------------------------------------------------------------------------------------------------
251Tu
252W
253Th
254Fr
255Sa
256Su
257WorkOut----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
258Meal2M--------------------------------------------------------------------------------------------------
259Tu
260W
261Th
262Fr
263Sa
264Su
265WorkOut----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
266Meal3M--------------------------------------------------------------------------------------------------
267Tu
268W
269Th
270Fr
271Sa
272Su
273WorkOut----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
274Meal4M--------------------------------------------------------------------------------------------------
275Tu
276W
277Th
278Fr
279Sa
280Su
281WorkOut----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
282Meal5M--------------------------------------------------------------------------------------------------
283Tu
284W
285Th
286Fr
287Sa
288Su
289WorkOut----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
290Meal6M--------------------------------------------------------------------------------------------------
291Tu
292W
293Th
294Fr
295Sa
296SuAVGTOTAL
297Total calories2006cal1900cal1695cal1774cal1825cal1859cal1840cal1843cal12899cal
298Intermittent FastingTotal14h 19m17h 10m14h 18m16h 15m15h 00m17h 00m14h 27m15h 29m12h 29m
299Period22:0012:1920:0013:1021:3011:4821:0013:1521:3012:3020:3013:3000:0014:27
300Min F.T.12:0010:0011:3011:0011:3010:3014:00
301Eating Win07h 41m08h 20m09h 12m08h 15m08h 00m10h 30m09h 33m08h 47m
302Protein134180193199182168209180.7142861265
303Water2950ml3100ml3200ml3200ml3100ml2900ml3000ml3064ml21450ml
304Steps756011003112941067111224101281252010629 steps74400 steps
305Sleep06h 54m09h 46m06h 00m09h 15m06h 00m07h 00m08h 00m07h 45m52h 15m
Log
Cell Formulas
RangeFormula
E247E247=Q186+1
G247,I247,K247,M247,O247,Q247G247=E247+1
S301:S305,S297:S298S297=IF(SUM(E297:R297)=0,"0",AVERAGEIF(E297:R297,"<>0"))
T302:T305,T297:T298T297=SUM(E297:R297)
E298,G298,I298,K298,M298,O298,Q298E298=MOD(F299-E299,1)
E300,G300,I300,K300,M300,O300,Q300E300=E299+$Z$1+TIME(0,1,0)
E301,G301,I301,K301,M301,O301E301=MOD(G299-F299,1)
Q301Q301=MOD(E360-R299,1)
Named Ranges
NameRefers ToCells
calories5=Log!$E$297:$R$297S297:T297
Cells with Conditional Formatting
CellConditionCell FormatStop If True
E3:R3,E64:R64,E124:R125,E185:R186,E244:R244,E246:R247,E305:R305,E307:R308,E366:R366,E368:R369,E427:R427Dates OccurringtodaytextNO
E54:R54,E115:R115,E176:R176,E237:R237,E298:R298,E358:R359,E419:R420Expression=IF(E54>$Z$1,"true","false")textNO
E54:R54,E115:R115,E176:R176,E237:R237,E298:R298,E358:R359,E419:R420Expression=IF(AND(E54>0.01,E54<=$Z$1),"true","false")textNO
E57:R57,E118:R118,E179:R179,E240:R240,E301:R301,E362:R362,E423:R423Cell Valuebetween 0.000001 and $Z$2textNO
E57:R57,E118:R118,E179:R179,E240:R240,E301:R301,E362:R362,E423:R423Cell Value>$Z$2textNO
E59:R59,E120:R120,E181:R181,E242:R242,E303:R303,E364:R364,E425:R425Cell Value<$AA$9textNO
E59:R59,E120:R120,E181:R181,E242:R242,E303:R303,E364:R364,E425:R425Cell Value>=$AA$9textNO
E60:R60,E121:R121,E182:R182,E243:R243,E304:R304,E365:R365,E426:R426Cell Value>=$AA$10textNO
E60:R60,E121:R121,E182:R182,E243:R243,E304:R304,E365:R365,E426:R426Cell Value<$AA$10textNO
E244:R244,E305:R305,E366:R366,E427:R427,E61:R61,E122:R122,E183:R183Cell Value>=$AA$11textNO
E61:R61,E122:R122,E183:R183,E244:R244,E305:R305,E366:R366,E427:R427Cell Value<$AA$11textNO
E358:R358,E419:R419,E53:R53,E114:R114,E175:R175,E236:R236,E297:R297Cell Valuebetween $AA$7 and $AA$7+100textNO
E53:R53,E114:R114,E175:R175,E236:R236,E297:R297,E358:R358,E419:R419Cell Value>$AA$7+101textNO
E53:R53,E114:R114,E175:R175,E236:R236,E297:R297,E358:R358,E419:R419Cell Valuebetween $AA$7 and $AA$7+100textNO
E53:R53,E114:R114,E175:R175,E236:R236,E297:R297,E358:R358,E419:R419Cell Value<$AA$7textNO
E58:R58,E119:R119,E180:R180,E241:R241,E302:R302,E363:R363,E424:R424Cell Value>$AA$8+11textNO
E58:R58,E119:R119,E180:R180,E241:R241,E302:R302,E363:R363,E424:R424Cell Valuebetween $V$2 and $AA$8+10textNO
E58:R58,E119:R119,E180:R180,E241:R241,E302:R302,E363:R363,E424:R424Cell Value<$AA$8textNO
 

Excel Facts

What does custom number format of ;;; mean?
Three semi-colons will hide the value in the cell. Although most people use white font instead.

Forum statistics

Threads
1,215,076
Messages
6,122,984
Members
449,092
Latest member
Mr Hughes

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top