Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 468
Default How do I pick the only number in a column and copy it to another?

Paste this into a Standard Module (Change as needed... I've treated your
Column as Column F and I am sending a copy to Cell J1 (on the same
Worksheet).. So
Change according to your needs..
Hope this helps.....
Jim May

Sub foo()
Set MyRange = Range("F2:F" & Cells(Rows.Count, "F").End(xlUp).Row)
For Each c In MyRange
If Application.WorksheetFunction.IsNumber(c) Then
c.Copy Range("J1")
End If
Next

"Mawaller" wrote:

I have a column that contains a formula which will return 50 results. 49
results will be false. One will be an actual number. I need to copy that
number to another cell automatically. Sounds simple right? The number will
move around the column depending on user input. It will rarely be in the same
location twice. I need to tell Excel to find the number in the column (there
will always be just one) and copy it to a new cell. If the spreadsheet would
be helpful, let me know who to email it to.

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
FORMULA TO PICK NUMBER tjsmags Excel Worksheet Functions 3 November 21st 06 01:00 AM
I need to total col, but pick up number in other col. if not 0 Katie Excel Worksheet Functions 5 September 9th 06 02:06 AM
copy a formula that does not change the column or row number? s2m via OfficeKB.com Excel Discussion (Misc queries) 5 June 19th 06 05:14 PM
Formula to pick out number values JaneC Excel Worksheet Functions 5 January 9th 06 01:24 PM
In Excel, I need to now how to pick the second highest number in . Keith Excel Worksheet Functions 4 January 19th 05 03:23 PM


All times are GMT +1. The time now is 03:08 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"