Here is the link to my google sheet:
https://docs.google.com/spreadsheets/d/1toBfSTFwIzlUOVZrWWjmhIOZizXuiJ091dYN70kZHcA/edit?usp=sharing
I am trying to create conditional formatting based on a range of dates which does not seem to be working.
This is my formula:
=isnumber(vlookup(C12,$K$60:$K$71,1,0))
I used =isnumber because of the date issue. The problem is that only the first cell of the cells selected to be conditionally formatted is changing color which I know is incorrect because the first cell does not even have a date number.
What am I doing wrong?
try like this:
=VLOOKUP(C11, FILTER($K$60:$K$71, $K$60:$K$71<>""), 1, )*(ISNUMBER(C11))
or even:
=VLOOKUP(C11, $K$60:$K$71, 1, )*(ISNUMBER(C11))
Related
How do I go about using REGEXREPLACE to insert commas into values in Google Sheets? Example:
cell A1 = 1234567890
expected output in B1 = 1,234,567,890
edit:
The intention would be so that the user would not need to format anything themselves. This issue is from a template I'm doing up, sample sheet here - https://docs.google.com/spreadsheets/d/1n-KXqcSpx_DpvrOv9A4UsKn1amGGEUCpyzWWDphWdJY/edit?usp=sharing
try:
=TEXT(A1; "#,###,###,##0")
Try
=A1
and change the format to
#,##0
To insert commas into values in Google Sheets, I recommend:
Select the range of cells you'd like to format or modify.
Click Format and then Number.
Select the format to apply to the range of cells.
I have dozens of columns where I want to highlight duplicates. I have an issue with the formula. Here is what I have:
=COUNTIFS($B$3:$B,$C$3:$C,$D$3:$D,$E3:$E,$F3:$F,$G$3:$G,$H$3:$H,$I$3:$I,$J$3:$J,$K$3:$K,$L$3:$L,$M$3:$M,$N$3:$N,$O$3:$O,$P$3:$P,$Q$3:$Q)>1
I have also tried this:
=COUNTIFS($B$3:$B,$B3:$B,$C$3:$C,$C3:$C,$D$3:$D,$D3:$D,$E$3:$E,$E3:$E,$F$3:$F,$F3:$F,$G$3:$G,$G3:$G,$H$3:$H,$H3:$H,$I$3:$I,$I:$I,$J$3:$J,$J3:$J,$K$3:$K,$K3:$K,$L$3:$L,$L3:$L,$M$3:$M,$M3:$M,$N$3:$N,$N3:$N,$O$3:$O,$O3:$O,$P$3:$P,$P3:$P,$Q$3:$Q,$Q3:$Q)>1
Google sheets says: Invalid formula. What is wrong with it? Is there an easy way of doing it instead of typing all the columns one by one?
Apply a custom formula for conditional formatting.
If you want to check everything from row 3 to the very bottom then use
=COUNTIF($B$3:$S, B3) > 1
applied to B3:S.
If you want to handle only the range B3:S22 then apply to it:
=COUNTIF($B$3:$S$22, B3) > 1
Do not forget those $s.
try:
=REGEXMATCH(""&B3, TEXTJOIN("|", 1, $B$25:$B$28))
I'm having trouble with HLOOKUP in Google Sheets. I'm trying to determine whether an inputted word is unique in a row and for this reason my formula searches combined ranges [that exclude itself] within an HLOOKUP. This is the formula I'm using [in cell E4]:
=HLOOKUP(E2, {B2:D3;F2:M3}, 2, false)
Doubtless, there's something I'm doing wrong, because I keep getting this error:
"HLOOKUP evaluates to an out-of-bounds range"
What I want to happen is that it will find a match for "ice" in the range to the left [B2:D3] and the range to the right [F2:M3]...
Confusingly, the equivalent formula works for VLOOKUP, but not HLOOKUP. I've found it also works in HLOOKUP if I search for a single range [ie B2:D3] and not a combined range.
So I'm a bit stuck. The combined range search works fine in VLOOKUP, but perhaps I need to write it differently for HLOOKUP?
Any help would be greatly appreciated.
instead of this:
=HLOOKUP(E2, {B2:D3; F2:M3}, 2, 0)
try this:
=HLOOKUP(E2, {B2:D3, F2:M3}, 2, 0)
For identifying duplicates conditional formatting might suit you. Select all relevant columns : Format > Conditional formatting..., Format cells if... Custom formula is and:
=countif(1:1,A1)>1
with formatting of your choice.
This should format all instances of any value repeated in its row.
I wish to conditionally format cells within a range based on another range...
Eg: format D7:I7 if a value is found in D19:I19.
I've looked but couldn't find a way...
Tried both HLOOKUP& MATCH:
=HLOOKUP(D7,D$24:I$24,,FALSE)
=MATCH(D$7,D$24:I$24,0)`
I have also tried a simple =D$19:I$19 - this one returns only partial formatting on the ranges selected - E9, G11, H13....
Ideas??
Applies to range: D7:I7
Custom formula is: =countif($D19:$I19,$D$7)>0
I have two Google Sheets: the first contains data per week and the second gives an overview of that data. The sheets in the first are named by week. For example: Week 1, Week 2, Week 3, Week 4 ... The sheets in the second contain one cell which has the same text as the sheet names of the first document. This cell is A1.
Using the IMPORTRANGE function I want to show some data from the first (data) document in the second (overview) document. Currently the IMPORTRANGE formula looks like this:
=IMPORTRANGE("https://docs.google.com/...; "Week 1!C2:C5")
As you can see I have to change the sheet name I reference to manually. I want it to change automatically using the text in cell A1. So it should look like this:
=IMPORTRANGE("https://docs.google.com/...; "A1!C2:C5")
Is it possible to do it like this or do I need a script and how can I make it work?
Thank you for your tip about using ranges, I will use it in the future. You suggested the following formula:
=IMPORTRANGE("https://docs.google.com/...; A1)
It didn't work. I got it to work with the following formula:
=IMPORTRANGE("https://docs.google.com/..."; (A1&"!C2:C5"))
sure, just try it:
=IMPORTRANGE("https://docs.google.com/..., A1)
I also recommemnd you use named ranges (google it). this allows you to just type in "week1" into cell A1, instead of something like "Sheet3!A1:B343." Without named ranges any complex spreadsheet will turn your formulas into an indecipherable mess.