Hi
I am wondering if anyone knows the formula on this:
If cell E2 says YES, add the information in A1 into sheet 2 - A1?
That is probably not the easy part. But then it gets a bit tricky. If all answers were YES, then no problem. However, if i.e. E1-E2 is YES, E3 is NO, E4-E5 is YES. Is it possible to tell excel that if NO somewhere, skip that row in the other sheet?
Example:
SHEET 1:
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD="align: center"][/TD]
[TD="align: center"]A
[/TD]
[TD="align: center"]B
[/TD]
[TD="align: center"]C
[/TD]
[TD="align: center"]D
[/TD]
[TD="align: center"]E
[/TD]
[/TR]
[TR]
[TD="align: center"]1
[/TD]
[TD="align: center"]100
[/TD]
[TD="align: center"]CAR
[/TD]
[TD="align: center"]VW
[/TD]
[TD="align: center"]5000
[/TD]
[TD="align: center"]YES
[/TD]
[/TR]
[TR]
[TD="align: center"]2
[/TD]
[TD="align: center"]101
[/TD]
[TD="align: center"]CAR
[/TD]
[TD="align: center"]FIAT
[/TD]
[TD="align: center"]3000
[/TD]
[TD="align: center"]YES
[/TD]
[/TR]
[TR]
[TD="align: center"]3
[/TD]
[TD="align: center"]102
[/TD]
[TD="align: center"]CAR
[/TD]
[TD="align: center"]BMW
[/TD]
[TD="align: center"]1500
[/TD]
[TD="align: center"]NO
[/TD]
[/TR]
[TR]
[TD="align: center"]4
[/TD]
[TD="align: center"]103
[/TD]
[TD="align: center"]CAR
[/TD]
[TD="align: center"]KIA
[/TD]
[TD="align: center"]2000
[/TD]
[TD="align: center"]YES
[/TD]
[/TR]
[TR]
[TD="align: center"]5
[/TD]
[TD="align: center"]104
[/TD]
[TD="align: center"]CAR
[/TD]
[TD="align: center"]AUDI
[/TD]
[TD="align: center"]2500
[/TD]
[TD="align: center"]YES
[/TD]
[/TR]
[TR]
[TD="align: center"]6
[/TD]
[TD="align: center"]105
[/TD]
[TD="align: center"]CAR
[/TD]
[TD="align: center"]VOL..
[/TD]
[TD="align: center"][/TD]
[TD="align: center"]YES
[/TD]
[/TR]
[TR]
[TD="align: center"]7
[/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[/TR]
</tbody>[/TABLE]
SHEET 2:
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD="align: center"][/TD]
[TD="align: center"]A
[/TD]
[TD="align: center"]B
[/TD]
[TD="align: center"]C
[/TD]
[TD="align: center"]D
[/TD]
[/TR]
[TR]
[TD="align: center"]1
[/TD]
[TD="align: center"]100
[/TD]
[TD="align: center"]CAR
[/TD]
[TD="align: center"]VW
[/TD]
[TD="align: center"]5000
[/TD]
[/TR]
[TR]
[TD="align: center"]2
[/TD]
[TD="align: center"]101
[/TD]
[TD="align: center"]CAR
[/TD]
[TD="align: center"]FIAT
[/TD]
[TD="align: center"]3000
[/TD]
[/TR]
[TR]
[TD="align: center"]3
[/TD]
[TD="align: center"]103
[/TD]
[TD="align: center"]CAR
[/TD]
[TD="align: center"]KIA
[/TD]
[TD="align: center"]2000
[/TD]
[/TR]
[TR]
[TD="align: center"]4
[/TD]
[TD="align: center"]104
[/TD]
[TD="align: center"]CAR
[/TD]
[TD="align: center"]AUDI
[/TD]
[TD="align: center"]2500
[/TD]
[/TR]
[TR]
[TD="align: center"]5
[/TD]
[TD="align: center"]105
[/TD]
[TD="align: center"]CAR
[/TD]
[TD="align: center"]VOL..
[/TD]
[TD="align: center"][/TD]
[/TR]
[TR]
[TD="align: center"]6
[/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[/TR]
</tbody>[/TABLE]
As you can see, what I am trying to do is that if column E says "YES", the data goes to sheet 1 as shown above. However, if column E shows "NO", I would not only like it to not appear on sheet 1, but to remove that row so that I do not get a lot of open cells or cells with a "0" on sheet 1. Also, if I add any information in row 6 on sheet 1 when E6=YES, I would like that information to be added below the last row in sheet 2 (which in this case is row 5).
Anyone got an idea?
regards
Helge
I am wondering if anyone knows the formula on this:
If cell E2 says YES, add the information in A1 into sheet 2 - A1?
That is probably not the easy part. But then it gets a bit tricky. If all answers were YES, then no problem. However, if i.e. E1-E2 is YES, E3 is NO, E4-E5 is YES. Is it possible to tell excel that if NO somewhere, skip that row in the other sheet?
Example:
SHEET 1:
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD="align: center"][/TD]
[TD="align: center"]A
[/TD]
[TD="align: center"]B
[/TD]
[TD="align: center"]C
[/TD]
[TD="align: center"]D
[/TD]
[TD="align: center"]E
[/TD]
[/TR]
[TR]
[TD="align: center"]1
[/TD]
[TD="align: center"]100
[/TD]
[TD="align: center"]CAR
[/TD]
[TD="align: center"]VW
[/TD]
[TD="align: center"]5000
[/TD]
[TD="align: center"]YES
[/TD]
[/TR]
[TR]
[TD="align: center"]2
[/TD]
[TD="align: center"]101
[/TD]
[TD="align: center"]CAR
[/TD]
[TD="align: center"]FIAT
[/TD]
[TD="align: center"]3000
[/TD]
[TD="align: center"]YES
[/TD]
[/TR]
[TR]
[TD="align: center"]3
[/TD]
[TD="align: center"]102
[/TD]
[TD="align: center"]CAR
[/TD]
[TD="align: center"]BMW
[/TD]
[TD="align: center"]1500
[/TD]
[TD="align: center"]NO
[/TD]
[/TR]
[TR]
[TD="align: center"]4
[/TD]
[TD="align: center"]103
[/TD]
[TD="align: center"]CAR
[/TD]
[TD="align: center"]KIA
[/TD]
[TD="align: center"]2000
[/TD]
[TD="align: center"]YES
[/TD]
[/TR]
[TR]
[TD="align: center"]5
[/TD]
[TD="align: center"]104
[/TD]
[TD="align: center"]CAR
[/TD]
[TD="align: center"]AUDI
[/TD]
[TD="align: center"]2500
[/TD]
[TD="align: center"]YES
[/TD]
[/TR]
[TR]
[TD="align: center"]6
[/TD]
[TD="align: center"]105
[/TD]
[TD="align: center"]CAR
[/TD]
[TD="align: center"]VOL..
[/TD]
[TD="align: center"][/TD]
[TD="align: center"]YES
[/TD]
[/TR]
[TR]
[TD="align: center"]7
[/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[/TR]
</tbody>[/TABLE]
SHEET 2:
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD="align: center"][/TD]
[TD="align: center"]A
[/TD]
[TD="align: center"]B
[/TD]
[TD="align: center"]C
[/TD]
[TD="align: center"]D
[/TD]
[/TR]
[TR]
[TD="align: center"]1
[/TD]
[TD="align: center"]100
[/TD]
[TD="align: center"]CAR
[/TD]
[TD="align: center"]VW
[/TD]
[TD="align: center"]5000
[/TD]
[/TR]
[TR]
[TD="align: center"]2
[/TD]
[TD="align: center"]101
[/TD]
[TD="align: center"]CAR
[/TD]
[TD="align: center"]FIAT
[/TD]
[TD="align: center"]3000
[/TD]
[/TR]
[TR]
[TD="align: center"]3
[/TD]
[TD="align: center"]103
[/TD]
[TD="align: center"]CAR
[/TD]
[TD="align: center"]KIA
[/TD]
[TD="align: center"]2000
[/TD]
[/TR]
[TR]
[TD="align: center"]4
[/TD]
[TD="align: center"]104
[/TD]
[TD="align: center"]CAR
[/TD]
[TD="align: center"]AUDI
[/TD]
[TD="align: center"]2500
[/TD]
[/TR]
[TR]
[TD="align: center"]5
[/TD]
[TD="align: center"]105
[/TD]
[TD="align: center"]CAR
[/TD]
[TD="align: center"]VOL..
[/TD]
[TD="align: center"][/TD]
[/TR]
[TR]
[TD="align: center"]6
[/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[/TR]
</tbody>[/TABLE]
As you can see, what I am trying to do is that if column E says "YES", the data goes to sheet 1 as shown above. However, if column E shows "NO", I would not only like it to not appear on sheet 1, but to remove that row so that I do not get a lot of open cells or cells with a "0" on sheet 1. Also, if I add any information in row 6 on sheet 1 when E6=YES, I would like that information to be added below the last row in sheet 2 (which in this case is row 5).
Anyone got an idea?
regards
Helge