Hiya everyone,
I have a sheet on teams that multiple people use from multiple locations. I have conditional formatting on the sheet using an xlookup to highlight cells and rows that meet certain requirements. At the minute I am having to do the lookups via entire columns (e.g. =xlookup($A1,'Data'E:E,'Data'F:F) so it looks for the value in the first column and highlights the cells where the value in A:A is found in E:E and there is and entry in F:F. This works, but due to doing entire column calculations it is sometimes incredibly slow. I have had to format it this way because at the end of each shift we delete complete rows and if I did the lookup on E1:E500 then when the rows are deleted I end up with #Ref errors or gaps in the formatting.
Is there a way to make a range dynamic, so if i have E1:E500 and rows were deleted it would still stay as E1:E500 and not break. I tried with a Named Range also but I couldn't make it work.
I would like this to work for conditional formatting and formulas if possible. I have Countifs and Sumifs and these are calculated on full rows too as there is always different amounts of data in the sheet, between 50 to 350 rows.
I have a sheet on teams that multiple people use from multiple locations. I have conditional formatting on the sheet using an xlookup to highlight cells and rows that meet certain requirements. At the minute I am having to do the lookups via entire columns (e.g. =xlookup($A1,'Data'E:E,'Data'F:F) so it looks for the value in the first column and highlights the cells where the value in A:A is found in E:E and there is and entry in F:F. This works, but due to doing entire column calculations it is sometimes incredibly slow. I have had to format it this way because at the end of each shift we delete complete rows and if I did the lookup on E1:E500 then when the rows are deleted I end up with #Ref errors or gaps in the formatting.
Is there a way to make a range dynamic, so if i have E1:E500 and rows were deleted it would still stay as E1:E500 and not break. I tried with a Named Range also but I couldn't make it work.
I would like this to work for conditional formatting and formulas if possible. I have Countifs and Sumifs and these are calculated on full rows too as there is always different amounts of data in the sheet, between 50 to 350 rows.