Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11
Default Sorting unique values and returning values from a formula

I have a macro to sort unique values from one worksheet to the next. My
macro retruns the formula from the range of cells vs. the values which I
need. What would I need to change in the macro below to list the unique
values instead of the formulas?

Sub unique()
'
' unique Macro
' Macro recorded 2/17/2006 by andersma
'

'
Sheets("Conversion").Range("G1:G3000").AdvancedFil ter
Action:=xlFilterCopy, _
CopyToRange:=Range("C1"), unique:=True
End Sub

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,290
Default Sorting unique values and returning values from a formula

Marcus,
Try it after adding a column title/heading in G1.
Jim Cone
San Francisco, USA
http://www.realezsites.com/bus/primitivesoftware


"MarcusA" wrote in message...
I have a macro to sort unique values from one worksheet to the next. My
macro retruns the formula from the range of cells vs. the values which I
need. What would I need to change in the macro below to list the unique
values instead of the formulas?

Sub unique()
' unique Macro
' Macro recorded 2/17/2006 by andersma'
Sheets("Conversion").Range("G1:G3000").AdvancedFil ter
Action:=xlFilterCopy, CopyToRange:=Range("C1"), unique:=True
End Sub

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11
Default Sorting unique values and returning values from a formula

Thank you!!! it worked.

"Jim Cone" wrote:

Marcus,
Try it after adding a column title/heading in G1.
Jim Cone
San Francisco, USA
http://www.realezsites.com/bus/primitivesoftware


"MarcusA" wrote in message...
I have a macro to sort unique values from one worksheet to the next. My
macro retruns the formula from the range of cells vs. the values which I
need. What would I need to change in the macro below to list the unique
values instead of the formulas?

Sub unique()
' unique Macro
' Macro recorded 2/17/2006 by andersma'
Sheets("Conversion").Range("G1:G3000").AdvancedFil ter
Action:=xlFilterCopy, CopyToRange:=Range("C1"), unique:=True
End Sub


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
Returning an array of unique values? Blue Max Excel Worksheet Functions 10 January 16th 08 02:51 AM
Formula for Returning values in another spreadsheet lrbest4x4xfar Excel Worksheet Functions 1 October 14th 05 02:52 PM
Count unique values and create list based on these values vipa2000 Excel Worksheet Functions 7 August 5th 05 01:17 AM
create list of unique values from a column with repeated values? Chad Schaben Excel Worksheet Functions 1 July 8th 05 10:25 PM
How do I search thr'o column and put unique values in differnt sheet and sum corresponding values in test test Excel Programming 3 September 9th 03 08:53 PM


All times are GMT +1. The time now is 06:42 PM.

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

About Us

"It's about Microsoft Excel"