Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I don't know if this is possible but here goes.
I have exported data into excel and in column D there are identifiers i.e. "IN" & "OUT". In column A there are items that fit into these categories, but the items switch back and forth between the two. There will be 20 items that are "IN" with the "IN" appearing in just the first items row and doesn't change until there are "OUT" items. This switches back and forth. Is there a formula that can copy the identifier on every row until it changes, so that every row has a label of IN or OUT? Am i making sense? Please help! -- Eric |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Eric D,
Here is an option that I have used mutliple times in importing data. Especially from PivotTables. =IF(A2="",B1,A2) Basically, place this formula in a new column, and change the cell references as needed. My example is as such: SEL <New Column a a a a a a a b b b b b Hope this helps. -- --Thomas [PBD] Working hard to make working easy. "Eric D" wrote: I don't know if this is possible but here goes. I have exported data into excel and in column D there are identifiers i.e. "IN" & "OUT". In column A there are items that fit into these categories, but the items switch back and forth between the two. There will be 20 items that are "IN" with the "IN" appearing in just the first items row and doesn't change until there are "OUT" items. This switches back and forth. Is there a formula that can copy the identifier on every row until it changes, so that every row has a label of IN or OUT? Am i making sense? Please help! -- Eric |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
this is not working for me. the identifiers i need switch back and forth, so
how do you get it to change back and forth? -- Eric "Thomas [PBD]" wrote: Eric D, Here is an option that I have used mutliple times in importing data. Especially from PivotTables. =IF(A2="",B1,A2) Basically, place this formula in a new column, and change the cell references as needed. My example is as such: SEL <New Column a a a a a a a b b b b b Hope this helps. -- --Thomas [PBD] Working hard to make working easy. "Eric D" wrote: I don't know if this is possible but here goes. I have exported data into excel and in column D there are identifiers i.e. "IN" & "OUT". In column A there are items that fit into these categories, but the items switch back and forth between the two. There will be 20 items that are "IN" with the "IN" appearing in just the first items row and doesn't change until there are "OUT" items. This switches back and forth. Is there a formula that can copy the identifier on every row until it changes, so that every row has a label of IN or OUT? Am i making sense? Please help! -- Eric |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Eric D,
You mean to say that your data comes in as: a in out b in out and you would like it to become: a in a in a out a out b in b in b out if not, I might need some clarification, an exact example could help. -- --Thomas [PBD] Working hard to make working easy. "Eric D" wrote: this is not working for me. the identifiers i need switch back and forth, so how do you get it to change back and forth? -- Eric "Thomas [PBD]" wrote: Eric D, Here is an option that I have used mutliple times in importing data. Especially from PivotTables. =IF(A2="",B1,A2) Basically, place this formula in a new column, and change the cell references as needed. My example is as such: SEL <New Column a a a a a a a b b b b b Hope this helps. -- --Thomas [PBD] Working hard to make working easy. "Eric D" wrote: I don't know if this is possible but here goes. I have exported data into excel and in column D there are identifiers i.e. "IN" & "OUT". In column A there are items that fit into these categories, but the items switch back and forth between the two. There will be 20 items that are "IN" with the "IN" appearing in just the first items row and doesn't change until there are "OUT" items. This switches back and forth. Is there a formula that can copy the identifier on every row until it changes, so that every row has a label of IN or OUT? Am i making sense? Please help! -- Eric |
#5
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Nevermind I think i can work with this ... i had the formula wrong ... thanks
a bunch! -- Eric "Thomas [PBD]" wrote: Eric D, Here is an option that I have used mutliple times in importing data. Especially from PivotTables. =IF(A2="",B1,A2) Basically, place this formula in a new column, and change the cell references as needed. My example is as such: SEL <New Column a a a a a a a b b b b b Hope this helps. -- --Thomas [PBD] Working hard to make working easy. "Eric D" wrote: I don't know if this is possible but here goes. I have exported data into excel and in column D there are identifiers i.e. "IN" & "OUT". In column A there are items that fit into these categories, but the items switch back and forth between the two. There will be 20 items that are "IN" with the "IN" appearing in just the first items row and doesn't change until there are "OUT" items. This switches back and forth. Is there a formula that can copy the identifier on every row until it changes, so that every row has a label of IN or OUT? Am i making sense? Please help! -- Eric |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
copying cell formula newbie. Thank You | Excel Discussion (Misc queries) | |||
Copying formula from one cell to another with absolute value in it | Excel Discussion (Misc queries) | |||
copying formula to another cell | Excel Discussion (Misc queries) | |||
How do I copy the value from a cell without copying the formula? | Excel Worksheet Functions | |||
How do I keep one cell constant in a formula even when copying | Excel Discussion (Misc queries) |