An if formula for multiple cells in another sheet - google-sheets

I have a google sheet that has 2 sheets, Sheet 1 with info in cells A and B.
I need to add a little formula in sheet 2, to check if any of the cells in sheet 1 column A (numbers) is bigger than the Numbers in column B cells, and then if so, say Yes else NO.
So IF in sheet1 any of the cells in Column A is bigger than in Column B, Then...."YES"

This checks on a row by row basis. If you want to know if ANY row in column A is bigger than in column B, that would be a bit different.
=if(Sheet1!A1>Sheet1!B1,"Yes","No")

Related

How to reference all cells from a cell to the very bottom and right in Google Sheets?

I know you can reference cells in these ways:
Address
Explanation
A1
The cell at A1
A2:A
All rows in column A starting from row 2
B1:1
All columns in row 1 starting from column B
What I can't find it how to reference all rows and columns starting at B2. Is that possible?
I am not opposed to using a formula but would prefer not to.
there are several ways one of wich is:
=INDIRECT("B2:"&ADDRESS(ROWS(A:A), COLUMNS(1:1)))
or:
=OFFSET(B2,,,9^9,9^9)

Transpose google spread sheet row values to column in different sheet

I have a google spreadsheet that has Sheet1 (tab 1) column values I want to be row value in a column in sheet (tab 2)
So I wrote formula ={'Sheet1'!A2:A35} and it does give me column values from sheet value but the outputs to multiple row (vertically)
is it possible that the row values of column A in sheet 1 to become column values of a single row in sheet 2.
the reason why I want is because in sheet 2 they act has Header to columns.
=TRANSPOSE({SHEET1!A2:A35})
Did the job what I was after.
You actually include the answer in your own title. Use this:
=TRANSPOSE(Sheet1!A2:A35)

How to highlight a row if two cells in the row not contain the same text

I need to set up conditional formatting in Google Sheets to highlight an entire row if the text in column D is not found in column C in each row.
Custom formulas tried:
=COUNTIF($C:$C,$D2)
tested to get the rows to highlight if the cells in column C are the same as column D. This worked (but I need it to highlight the opposite rows - if they are not equal) if there is only one entry in column D.
=AND($C2<>"", NOT(COUNTIF($C2,$D2)))

Google Sheets Coding by column NAME not letter/number?

Google Sheets :
Is it possible to code a cell in a sheet to pull in information from another cell in another sheet, inside the same workbook, by the title of the column that I give it, instead of using something like :
=Sheet1!A2
so that it looks for the Column Header Text to bring in the info no matter where it is in Sheet 1?
I have csv files that vary with some columns, the most important columns, so they won't always be at the same LetterNumber location.
OFFSET in conjunction with MATCH might suit.
=offset(Sheet1!A1,1,match("name1",Sheet1!1:1,0)-1)
A formula such as above should return a value from Row2 (1 lower/higher number than the row of the reference cell A1) of Sheet1 from the column defined by the match function. name1 (a column label) might be anywhere in the first row of Sheet1.

Tallying columns using Countif with a variable number of rows

I'm using Google Sheets for a spreadsheet I'm working on.
Basically, I'm counting the number of times some different items (items are all listed in columns) live inside of different application windows (all my windows are listed in rows).
I'm just plopping a checkmark to say yes when an item lives in a window.
I want to tally this, and I'm using Countif like this: =countif(C4:C38,"✔")
However, if I find a new item, or window, everything has to move and I have to update the formula's column or row number.
Is there a way to make the Countif's range dynamic?
To count the checkmarks in column C, irrespective of how many rows are in the sheet:
=COUNTIF(C:C,"✔")
To count the checkmarks from the fourth row down in column C, and not be affected by row insertion/deletion:
=COUNTIF(INDIRECT("C4:C"),"✔")
To count the checkmarks from the fourth row in column C, down to the row above where the formula is placed:
=COUNTIF(INDIRECT("C4:C"&(ROW()-1)),"✔")

Resources