Find next on list

billybowen

New Member
Joined
Apr 21, 2018
Messages
2
Hi folks, i have a list of names in col D and some have a number in col F
In col H i want to list all names with a number in Col F but without spaces, in other words find next
 

Excel Facts

Round to nearest half hour?
Use =MROUND(A2,"0:30") to round to nearest half hour. Use =CEILING(A2,"0:30") to round to next half hour.
If you can make use of a macro, here is one for you to consider...
Code:
[table="width: 500"]
[tr]
	[td]Sub GetNamesWithNumbers()
  Intersect(Columns("F").SpecialCells([B][COLOR="#FF0000"]xlConstants[/COLOR][/B]).EntireRow, Columns("D")).Copy Range("H1")
End Sub[/td]
[/tr]
[/table]
The above code assumes the values in Column F are constants... they are the result of formulas, then change the red highlighted text to xlFormulas instead.
 
Upvote 0

Forum statistics

Threads
1,215,529
Messages
6,125,344
Members
449,219
Latest member
Smiqer

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top