Performing a mathematical operation when cells are equal - google-sheets

I am trying to add all values in column E sheet 1 when cell A and B in sheet 1 is equal to cell A and B in sheet 2. What excel formula is the best to use?

Related

If Cell A in Column A is equal to any Cell in Column B, Input the number "5"

I have a list of emails on two separate sheets, I want to a formula that will allow me to able to automatically input the number "5" in a column where a match was found.
If Cell A in column A is = to a value in column B then input the number 5 in column C on the same row as Cell A
What I want is essentially the same thing as a VLookup only instead of returning a value from another cell I just want when it finds a match to input the number 5
try:
=ARRAYFORMULA(IF(COUNTIF(B:B; A:A)>0; 5; ))

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)

Fill Down Conditional Formatting Custom Formula

I have a Google Sheet that has 4 columns and 200 rows. I want to check that columns 3&4 are equal (numbers), if not highlight that row yellow. I'm using the following:
Apply to Range
B6:E6
Format cells if...
Custom formula is
=$D6<>$E6
How do I configure the formula or "copy-paste" that function of the formula down to say row 200?
Each row must compare cells D (of say row 7,8,9,100,101) with cells E (of say row 7,8,9,100,101).
remove the last 6 from the range B6:E6:

Excel formula to compare cells on two sheets with result of third cell on 2nd sheet

compare 2 cells a3:B3 on raw data sheet to 2 cells a3:b3 on sheet 1 and result is c3 from sheet 1
Your request is not really clear but try this, paste this in Sheet3 A1 or where you want it:
=IF(CONCATENATE('raw data'!A1,'raw data'!B1)=CONCATENATE(Sheet1!A1,Sheet1!B1),"Same Match","No Match")

An if formula for multiple cells in another sheet

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")

Resources