ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   copying names to list depending on certain conditions (https://www.excelbanter.com/excel-worksheet-functions/46394-copying-names-list-depending-certain-conditions.html)

macca

copying names to list depending on certain conditions
 
I have a spreadsheet which contains people's names and numbers associated
with those people. I would like to set it up so if the number is greater
than 5 then excel will copy the name into a different list. I can do this
with IF statements but i get lots of blank cells where that person does not
fill the criteria.

Any ideas how to solve this????



Bob Phillips

This looks like a job for DataFilterAdvanced Filter to me.

You can set a conditional criteria and specify a destination location.

--
HTH

Bob Phillips

"macca" wrote in message
...
I have a spreadsheet which contains people's names and numbers associated
with those people. I would like to set it up so if the number is greater
than 5 then excel will copy the name into a different list. I can do this
with IF statements but i get lots of blank cells where that person does

not
fill the criteria.

Any ideas how to solve this????





macca

This seems to only work for week 1
Week 2 I want it to compare the week 2 number column (Column C) to the names
(column A) and then copy the name into a seperate list but it seems unable to
skip the row inbetween.


Is this possible?


"Bob Phillips" wrote:

This looks like a job for DataFilterAdvanced Filter to me.

You can set a conditional criteria and specify a destination location.

--
HTH

Bob Phillips

"macca" wrote in message
...
I have a spreadsheet which contains people's names and numbers associated
with those people. I would like to set it up so if the number is greater
than 5 then excel will copy the name into a different list. I can do this
with IF statements but i get lots of blank cells where that person does

not
fill the criteria.

Any ideas how to solve this????






Bob Phillips

I think some sample data, type not an attachment, would help with expected
results as I have difficulty envisaging what you want.

--
HTH

Bob Phillips

"macca" wrote in message
...
This seems to only work for week 1
Week 2 I want it to compare the week 2 number column (Column C) to the

names
(column A) and then copy the name into a seperate list but it seems unable

to
skip the row inbetween.


Is this possible?


"Bob Phillips" wrote:

This looks like a job for DataFilterAdvanced Filter to me.

You can set a conditional criteria and specify a destination location.

--
HTH

Bob Phillips

"macca" wrote in message
...
I have a spreadsheet which contains people's names and numbers

associated
with those people. I would like to set it up so if the number is

greater
than 5 then excel will copy the name into a different list. I can do

this
with IF statements but i get lots of blank cells where that person

does
not
fill the criteria.

Any ideas how to solve this????








Max

"macca" wrote
.. I want it to compare the week 2 number
column (Column C) to the names (column A)
and then copy the name into a seperate list
but it seems unable to skip the row inbetween ..


Harzarding one guess ..

Assume data is in row2 down,
(Names in col A, numbers in col C as above)

Using 2 empty cols to the right, say cols E & F

Put in E2:
=IF(ISERROR(SMALL(F:F,ROWS($A$1:A1))),"",
INDEX(A:A,MATCH(SMALL(F:F,ROWS($A$1:A1)),F:F,0)))

Put in F2:
=IF(C2="","",IF(C25,C2+ROW()/10^10,""))
(Leave F1 empty)

Select E2:F2, copy down until the last row of data in cols A & C

Col E will return the list of names from col A
with numbers 5 in col C, all neatly bunched at the top ..
--
Rgds
Max
xl 97
---
Singapore, GMT+8
xdemechanik
http://savefile.com/projects/236895
--



Max

typo ..
Harzarding one guess ..

should be:
Hazarding one guess ..

--
Rgds
Max
xl 97
---
Singapore, GMT+8
xdemechanik
http://savefile.com/projects/236895
--




All times are GMT +1. The time now is 02:45 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com