Hi I am not sure how to write an excel formula to fulfill the below criteria
1. If Cell A1, B1 and C1 are the same | Show "Yes"
2. If Cell A1, B1 are the same but C1 is blank (vice-versa) | Show "Yes"
3. If Cell A1, B1 are the same but C1 is different (Vice-versa) | Show "Need to Update"
4. If Cell A1, B1 and C1 are all blank | Show ""
Use this formula:
=IF(AND(A1="",B1="",C1=""),"",IF(AND(A1=B1,B1=C1),"Yes",IF(AND(A1=B1,C1=""),"Yes",IF(AND(A1=B1,B1<>C1),"Need to update","None of the above"))))
Related
Can someone understand why my IF Statement isn't returning the desired result? The logic makes sense to me but obviously it is incorrect.
What I'm trying to do is make A1 = B1 if both C1 and D1 are blank. This condition of my IF Statement isn't working, it returns a 0. Does anyone know why?
What I think the logic of my IF Statement is AND what I'm trying to achieve:
IF D1 is blank, make the content of A1 = C1. IF C1 is blank, make the content of A1 = B1. Otherwise make A1 = D1.
=IF(ISBLANK(D1),C1,IF(ISBLANK(C1),B1,D1))
So check C1 & D1 and set A1 = B1, enter this in cell A1:
=if(and(C1="",D1=""),B1,D1)
This will set cell A1 equal to B1 if C1 & D1 are blank, if either C1 or D1 are not blank then A1 will be equal to D1.
This is based on your middle paragraph:
What I'm trying to do is make A1 = B1 if both C1 and D1 are blank.
What you have in your final paragraph is different:
IF D1 is blank, make the content of A1 = C1. IF C1 is blank, make the content of A1 = B1. Otherwise make A1 = D1.
As you don't test C1 and D1 together.
Edit based on your comment:
=IF(AND(ISBLANK(C1),ISBLANK(D1)),B1,if(isblank(D1),C1,D1))
Which does if both C1&D1 are blank then B1, if D1 is blank then C1 if not B1.
I have some Google Sheet with 2 columns:
A B
a1 ..
a2 ..
.. b1
a2 b2
.. b3
.. means empty cell;
I want to fill column A with values from B if cell in B is filled.
In this example I want to get table:
A B
a1 ..
a2 ..
b1 b1
b2 b2
b3 b3
I did something this:
=IF(NOT(ISBLANK(B1));B1)
But in situation when B1 is empty but A1 isn't A1 getting "FALSE" instead of current value A1.
How do I fix my snippet?
I am working in Excel 2013, and I have data like the following:
A1
A2
A3
B1
B2
B3
(The As go to A13, Bs go to B13, Cs go to C13, and so on until you get to row 2495.)
How do I divide this long column where the 14th row moves to the next column? See below:
A1 B1 C1 ...and so on
A2 B2 C2
A3 B3 C3
...
A13 B13 C13
B1: =INDEX($A:$A,(COLUMNS($A:A)-1)*13+ROWS($1:1))
Fill right to AA1
Select B1:AA1 and fill down to row 13
The above assumes you are going A-Z. But you must have other characters also in order to get to 2495 rows. Your real data may require some tweaks from what I have presented -- either filling down further; or filling further to the right, or using a different constant then 13
If you want to parse the data into three separate columns then in B1 enter:
=A1
In C1 enter:
=A14
In D1 enter:
=A27
Then copy these three cells downwards:
I have the following in one column, it keeps going down with random letters but always end with 1.
a1
a1
b1
b1
b1
b1
b1
c1
c1
c1
how can i make it fill series but start again from one when ever a new letter.
It should look like this:
a1
a2
b1
b2
b3
b4
b5
c1
c2
c3
You can genereate a new series in the column beside it. Lets assume your data starts in A1. In put 1 in B1 and in B2 place the following:
=IF(left(A1,len(A1)-1)=left(A2,len(A2)-1),B1+1,1)
Copy B2 down.
When you are done, you can copy your information from column B and paste is a values if you do not want the numbers changing again.
How do you define variable cell address in Excel. For example consider the case where the content of cell A1 is 5, cell A2 is 2, cell A3 is 10 and cell A4 is 1. How do I enter a general formula to SUM the content of the cells A7 (A1+A2) through A9 (A3-A4)? I would then like to drag the formula to columns B through CJ,... and repeat similar calculations noting that values of B1 through CJ4 are different than A1 through A4. I appreciate any suggestions.
=SUM(INDEX(A:A,A1+A2,1):INDEX(A:A,A3-A4))