Double if statement - Simple i think?

Raj1313

Board Regular
Joined
Nov 20, 2014
Messages
125
Hi i have the below - i want colum B to do the following = IF A1 is False the show "-" and also if the prevoius cell in row A is False then show No (example if A1 is False B2 is No

False-
0
No
False-
0No
0-
0-
False-
-No

<tbody>
</tbody>
 

Excel Facts

Show numbers in thousands?
Use a custom number format of #,##0,K. Each comma after the final 0 will divide the displayed number by another thousand
Hello Raj

Please use this formula:
=IF(A1=FALSE,"-",IF(INDIRECT("A" & ROW() - 1)=FALSE,"NO","-"))

And also let me know.
 
Upvote 0
Brillaint that worked - Anyway to simply this - its going to go down approx 10k rows? dont wont to slow the document down.
 
Upvote 0
HI Guys the data is in row J2 onwards and the formula will be in K2 onwards - How would I rearrange this formula - I have changed the cells but it doesn't seem to work?
 
Upvote 0
HI Guys the data is in row J2 onwards and the formula will be in K2 onwards - How would I rearrange this formula - I have changed the cells but it doesn't seem to work?

Try


Excel 2010
JK
1
2FALSE-
30No
4FALSE-
50No
60-
70-
8FALSE-
9-No
Sheet1
Cell Formulas
RangeFormula
K2=IF(J2=FALSE,"-",IF(INDEX(J:J,ROW()-1)=FALSE,"No","-"))
 
Upvote 0

Forum statistics

Threads
1,214,392
Messages
6,119,255
Members
448,879
Latest member
oksanana

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top