I'm trying to make a schedule that will see if a room is double booked. If it is, the conflicting cells will highlight.
If there are duplicates of the same date, I want it to check to see if the same room appears in both rows. If it does, check against for overlapping times. If that's true, then highlight the conflicting rows.
Here is my sample sheet:
https://docs.google.com/spreadsheets/d/1XxBTbNAHkYOaOXdh487L9jp7MSWLYsEaqlYqZsN3P2E/edit?usp=sharing
Thank you.
I believe I've figured it out:
=SUMPRODUCT(($A2=$A:$A)*($D2=$D:$D)*($B2<$C:$C)*($C2>$B:$B))>1
Related
I have a google sheet with room names, but they are formatted like (M355) and then the purpose of the room? I know how to sort values alphanumerically but you have to use a written formula. I need the cell next to the rooms to stay with the room number, so I can see the extra data that goes with it. The attached image shows what I mean.
I need the cell next to follow but it doesn't sort right. Has anyone experienced anything like this? I could manually copy and paste the 50 rooms but I ain't feeling that, I also would like it to be able to revert to what it is now too if possible.
Thanks!
You don't need a formula for that. You can just select the first row with your headers (assuming you have such a row), and create a filter.
By doing this, every data in the sorted column cells will bring its full row togheter.
I am trying to write a formula that will cover A3:AB311, where col f:L has checkboxes and N:AB have dates that are filled in. I want to highlight the entirety of a row if all the boxes in F:L are checked and there is text in each cell in N:AB.
Here is the formula that I have come up with but it only highlights F:L and even then just whichever ones are checked, not if all are checked.
=AND($F3:$L3 = TRUE, NOT(ISBLANK($N3:$T3)), NOT(ISBLANK($V3:$AB3)))
here is a scrubbed version of the doc that I am working with.
https://docs.google.com/spreadsheets/d/15lsA-by2vJOzp8N-_9NxLkkSmYPMAvRcVQ9Gb7KMj-Y/edit?usp=sharing
Line 31 is the only one that should be highlighted
Id really appreciate any assistance you guys could offer, ive been working on this off and on for a few days now.
You can use this formula:
=AND($F3:$L3,counta($N3:$T3)=columns($N3:$T3),counta($V3:$AB3)=columns($V3:$AB3))
I am making a google sheet to track attendance for a team. I want the row with the name to highlight a specific color when a checkbox is on. I managed to write something that works for the specific row I'm working in, but any time I try to copy it over to other rows the range is just adjusted, so any time any checkbox from a column is on it highlights all the rows. Attached are pictures that show what I want it to do. I just need help figuring out how to copy this to other rows and keeping them all separated.
The code that is in each conditional formatting is this:
=$B2=True
=$C2=True
=or($D2,$E2)=True
https://docs.google.com/spreadsheets/d/1zwkuJOCBPIIoQ7cp0bV5IvidMVwdeIC0dShdjwKMSkE/edit?usp=sharing
I think the issue is with the code itself because when I copy it adds the new range, but the code stays the same.
your formulae are correct. change your range A2:E2 to A2:E - that will solve it
I have a google sheet that has multiple columns that I am marking Yes or No to keep track of certain details for a property. When all cells in each column are marked as "Yes" I would like to highlight (change the background color) for that entire row. I created a sample spreadsheet of what I am trying to do.
https://docs.google.com/spreadsheets/d/1icbFXzas-VBnMsu2gjPd9avW0PN9ii3v7jPRMpp3kY4/edit?usp=sharing
Figured it out and posting it in case someone else needs it. I ended up using this conditional formula:
=AND(ARRAYFORMULA(A$2={A$3:A$37}))
It worked for all the columns. I got lucky, but would love for someone to explain why it works :-)
I am currently looking for the number of working days deducting the holidays and the weekends. I'm using this formula right now.
=NETWORKDAYS.INTL(E2,F2,1,Holidays!A1:A19)
putting the list of holidays on another sheet. It worked on the first cell,I enter the formula. However the numbers on the holidays range keeps on increasing, When I copy and paste into the next cell.
=NETWORKDAYS.INTL(E3,F3,1,Holidays!A2:A20)
This is for the 2nd cell and for the 3rd cell,
=NETWORKDAYS.INTL(E4,F4,1,Holidays!A3:A21)
I would like to ask if there is anything that I can do, When pasting the formula on each cell without moving the Holiday range. I tried entering the formula one by one and it worked. But, I am looking for an easier way for future use. Thanks a lot in advance.
To lock a range use $
=NETWORKDAYS.INTL(E2,F2,1,Holidays!A$1:A$19)
This will lock the rows. So if you drag fill down or copy paste down 1 and 19 won't change. But if you drag fill to the right,A will become B and so on.
To make a full lock, use $ on both columns and rows.
=NETWORKDAYS.INTL(E2,F2,1,Holidays!$A$1:$A$19)