Home |
Search |
Today's Posts |
#1
|
|||
|
|||
Name list
Hi,
I have a database and we would like to do some sorting. My data may looks like below Ron 1 3 Jes 2 7 Dan 3 Raj 4 5 Ali 5 Lily 6 2 I have data in column A, B & C. I would like to do a sorting to show the name on other worksheet HORIZONTALLY if both column B & C are bigger than 0. The result should like this Ron Jes Raj Lily Any idea? |
#2
|
|||
|
|||
one way
Sub ifallthree() For Each c In Range("a2:a" & Cells(Rows.Count, 1).End(xlUp).Row) If Application.CountA(Rows(c.Row)) = 3 Then ms = ms & " " & c Next MsgBox ms End Sub -- Don Guillett SalesAid Software "Pong" wrote in message ... Hi, I have a database and we would like to do some sorting. My data may looks like below Ron 1 3 Jes 2 7 Dan 3 Raj 4 5 Ali 5 Lily 6 2 I have data in column A, B & C. I would like to do a sorting to show the name on other worksheet HORIZONTALLY if both column B & C are bigger than 0. The result should like this Ron Jes Raj Lily Any idea? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
loop trough e-mail address list to send task lists with outlook | Excel Discussion (Misc queries) | |||
LOOP - Adddress List -to email | Excel Discussion (Misc queries) | |||
Refresh a Validation List? | Excel Discussion (Misc queries) | |||
Extracting Values on one list and not another | Excel Discussion (Misc queries) | |||
Creating a list from an existing list. | Excel Worksheet Functions |