Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
tough lookup question
I think this is complicated but here goes:
I have a spreadsheet that looks like this: col1 Col2 Col3 bunch of junk more junk NUMBER #1234 firstname lastname This repeats over and over. What I would like to do is populate col3, when col2 is not null, with the value of the closest previous row that has NUMBER #9999. Does anyone know a formula or code to do this? Thanks in advance. |
#2
Posted to microsoft.public.excel.misc
|
|||
|
|||
tough lookup question
.... and the result from your example would be ..... ??
col1 Col2 Col3 bunch of junk more junk NUMBER #1234 firstname lastname 1234 "Bonnie" wrote: I think this is complicated but here goes: I have a spreadsheet that looks like this: col1 Col2 Col3 bunch of junk more junk NUMBER #1234 firstname lastname This repeats over and over. What I would like to do is populate col3, when col2 is not null, with the value of the closest previous row that has NUMBER #9999. Does anyone know a formula or code to do this? Thanks in advance. |
#3
Posted to microsoft.public.excel.misc
|
|||
|
|||
tough lookup question
Yes exactly. But in case I didn't explain it well enough, there are many
columns that have last and first names and I want to fill them all with the nearest previous NUMBER #999. Do you know how to do this? Thanks in advance. "Toppers" wrote: ... and the result from your example would be ..... ?? col1 Col2 Col3 bunch of junk more junk NUMBER #1234 firstname lastname 1234 "Bonnie" wrote: I think this is complicated but here goes: I have a spreadsheet that looks like this: col1 Col2 Col3 bunch of junk more junk NUMBER #1234 firstname lastname This repeats over and over. What I would like to do is populate col3, when col2 is not null, with the value of the closest previous row that has NUMBER #9999. Does anyone know a formula or code to do this? Thanks in advance. |
#4
Posted to microsoft.public.excel.misc
|
|||
|
|||
tough lookup question
I am sure VBA will be required to do this: I don't have a formula solution
but that doesn't mean there isn't one! "Bonnie" wrote: Yes exactly. But in case I didn't explain it well enough, there are many columns that have last and first names and I want to fill them all with the nearest previous NUMBER #999. Do you know how to do this? Thanks in advance. "Toppers" wrote: ... and the result from your example would be ..... ?? col1 Col2 Col3 bunch of junk more junk NUMBER #1234 firstname lastname 1234 "Bonnie" wrote: I think this is complicated but here goes: I have a spreadsheet that looks like this: col1 Col2 Col3 bunch of junk more junk NUMBER #1234 firstname lastname This repeats over and over. What I would like to do is populate col3, when col2 is not null, with the value of the closest previous row that has NUMBER #9999. Does anyone know a formula or code to do this? Thanks in advance. |
#5
Posted to microsoft.public.excel.misc
|
|||
|
|||
tough lookup question
I may have a solution but I would like to try it on a good sample of data.
Can you send a w/book to: toppers <at NOSPAMjohntopley.fsnet.co.uk Remove NOSPAM "Toppers" wrote: I am sure VBA will be required to do this: I don't have a formula solution but that doesn't mean there isn't one! "Bonnie" wrote: Yes exactly. But in case I didn't explain it well enough, there are many columns that have last and first names and I want to fill them all with the nearest previous NUMBER #999. Do you know how to do this? Thanks in advance. "Toppers" wrote: ... and the result from your example would be ..... ?? col1 Col2 Col3 bunch of junk more junk NUMBER #1234 firstname lastname 1234 "Bonnie" wrote: I think this is complicated but here goes: I have a spreadsheet that looks like this: col1 Col2 Col3 bunch of junk more junk NUMBER #1234 firstname lastname This repeats over and over. What I would like to do is populate col3, when col2 is not null, with the value of the closest previous row that has NUMBER #9999. Does anyone know a formula or code to do this? Thanks in advance. |
#6
Posted to microsoft.public.excel.misc
|
|||
|
|||
tough lookup question
|
#7
Posted to microsoft.public.excel.misc
|
|||
|
|||
tough lookup question
Thanks, I'm sending it over.
"Toppers" wrote: I may have a solution but I would like to try it on a good sample of data. Can you send a w/book to: toppers <at NOSPAMjohntopley.fsnet.co.uk Remove NOSPAM "Toppers" wrote: I am sure VBA will be required to do this: I don't have a formula solution but that doesn't mean there isn't one! "Bonnie" wrote: Yes exactly. But in case I didn't explain it well enough, there are many columns that have last and first names and I want to fill them all with the nearest previous NUMBER #999. Do you know how to do this? Thanks in advance. "Toppers" wrote: ... and the result from your example would be ..... ?? col1 Col2 Col3 bunch of junk more junk NUMBER #1234 firstname lastname 1234 "Bonnie" wrote: I think this is complicated but here goes: I have a spreadsheet that looks like this: col1 Col2 Col3 bunch of junk more junk NUMBER #1234 firstname lastname This repeats over and over. What I would like to do is populate col3, when col2 is not null, with the value of the closest previous row that has NUMBER #9999. Does anyone know a formula or code to do this? Thanks in advance. |
#8
Posted to microsoft.public.excel.misc
|
|||
|
|||
tough lookup question
|
#10
Posted to microsoft.public.excel.misc
|
|||
|
|||
tough lookup question
I have received both before without any problem. If you continue to have
problems, post your address and I'll contact you! "Bonnie" wrote: It says "Destination not valid with DNS." Can you receive an Excel file or should I zip it? "Toppers" wrote: yes ... should be OK "Bonnie" wrote: Oops, I tried to send it but it came back undeliverable? I used: ? Thanks, "Toppers" wrote: I may have a solution but I would like to try it on a good sample of data. Can you send a w/book to: toppers <at NOSPAMjohntopley.fsnet.co.uk Remove NOSPAM "Toppers" wrote: I am sure VBA will be required to do this: I don't have a formula solution but that doesn't mean there isn't one! "Bonnie" wrote: Yes exactly. But in case I didn't explain it well enough, there are many columns that have last and first names and I want to fill them all with the nearest previous NUMBER #999. Do you know how to do this? Thanks in advance. "Toppers" wrote: ... and the result from your example would be ..... ?? col1 Col2 Col3 bunch of junk more junk NUMBER #1234 firstname lastname 1234 "Bonnie" wrote: I think this is complicated but here goes: I have a spreadsheet that looks like this: col1 Col2 Col3 bunch of junk more junk NUMBER #1234 firstname lastname This repeats over and over. What I would like to do is populate col3, when col2 is not null, with the value of the closest previous row that has NUMBER #9999. Does anyone know a formula or code to do this? Thanks in advance. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
A tough macro question | Excel Discussion (Misc queries) | |||
Can anyone help with this tough question? Format Conditional | Excel Worksheet Functions | |||
*Tough Math Question* | Excel Worksheet Functions | |||
Tough conditional formatting question | Excel Discussion (Misc queries) | |||
Tough question | Excel Discussion (Misc queries) |