Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 390
Default Would like to sort on cell formulas

I suppose this would be via a macro, and that's fine. My goal is
to sort a table based on the formulas in one column, rather than on
the displayed results in the column. Can anyone help with this?

Thanks,
Dallman Ross
  #2   Report Post  
Posted to microsoft.public.excel.misc
CLR CLR is offline
external usenet poster
 
Posts: 1,998
Default Would like to sort on cell formulas

Use a Helper column in which you put the same formulas, but without the
leading Equal sign......then sort on that column.

hth
Vaya con Dios,
Chuck, CABGx3



"Dallman Ross" wrote:

I suppose this would be via a macro, and that's fine. My goal is
to sort a table based on the formulas in one column, rather than on
the displayed results in the column. Can anyone help with this?

Thanks,
Dallman Ross

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 169
Default Would like to sort on cell formulas

In article , Dallman Ross <dman@localhost. wrote:
I suppose this would be via a macro, and that's fine. My goal is
to sort a table based on the formulas in one column, rather than on
the displayed results in the column. Can anyone help with this?


I just saw someone recommend an add in that had a function to 'capture' a
formula as a string. Seems to me that this + a sort would do what you want
... now ... if I could just find where I read that ... :)

Hope someone can point you at the add in I mean.

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 390
Default Would like to sort on cell formulas

In , Bruce Sinclair
spake thusly:

In article , Dallman Ross
<dman@localhost. wrote:

I suppose this would be via a macro, and that's fine. My goal
is to sort a table based on the formulas in one column, rather
than on the displayed results in the column. Can anyone help
with this?


I just saw someone recommend an add in that had a function to
'capture' a formula as a string. Seems to me that this + a sort
would do what you want .. now ... if I could just find where I
read that ... :)


If you mean the MOREFUNC collection, I posted about it here
earlier today (late yesterday; it's 2 a.m. here now). I
found out about it a couple of weeks ago from others here
in this group. http://xcell05.free.fr/

Yes, it does have a function that shows the formula as text.
Theoretically, that would help me do this. But I am trying
to avoid setting up a dummy column like that. That's why
I was hoping someone could cobble a quick macro together
to do it instead.

I do appreciate the brainstorming, in any case!

Dallman
  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 169
Default Would like to sort on cell formulas

In article , Dallman Ross <dman@localhost. wrote:
In , Bruce Sinclair
z spake thusly:

In article , Dallman Ross
<dman@localhost. wrote:

I suppose this would be via a macro, and that's fine. My goal
is to sort a table based on the formulas in one column, rather
than on the displayed results in the column. Can anyone help
with this?


I just saw someone recommend an add in that had a function to
'capture' a formula as a string. Seems to me that this + a sort
would do what you want .. now ... if I could just find where I
read that ... :)


If you mean the MOREFUNC collection, I posted about it here
earlier today (late yesterday; it's 2 a.m. here now). I
found out about it a couple of weeks ago from others here
in this group. http://xcell05.free.fr/


Ah ...right ... yep ... that would be it. I picked it up and installed it
myself today ... but didn't click that that may well have been where I saw
it. Bother !
Sorry about that chief :)

Yes, it does have a function that shows the formula as text.
Theoretically, that would help me do this. But I am trying
to avoid setting up a dummy column like that. That's why
I was hoping someone could cobble a quick macro together
to do it instead.
I do appreciate the brainstorming, in any case!


I understand. Best of luck :)




  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 390
Default Would like to sort on cell formulas

In , Dallman Ross <dman@localhost.
spake thusly:

I suppose this would be via a macro, and that's fine. My goal is
to sort a table based on the formulas in one column, rather than
on the displayed results in the column. Can anyone help with
this?


I just figured out one way to do this easily. Indeed, I'm
surprised nobody suggested it, in this clever group.

If I do, e.g., from a macro, a search-and-replace of the
leading "=" with some benign unique char in the column I intend to
sort, the formulas become text. I can sort as desired, then
replace the dummy chars with "=" again. Voila!

Dallman Ross
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
Sort text that is deliminated within a cell [email protected] Excel Discussion (Misc queries) 5 September 28th 06 11:19 PM
How to sort but keep linked formulas? GovUser Excel Discussion (Misc queries) 7 April 3rd 06 10:36 PM
Urgent date/scheduling calc needed jct Excel Worksheet Functions 3 February 24th 06 01:36 AM
Dates of a Day for a month & year cell formulas mikeburg Excel Discussion (Misc queries) 2 December 29th 05 10:14 PM
GET.CELL Biff Excel Worksheet Functions 2 November 24th 04 07:16 PM


All times are GMT +1. The time now is 10:14 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"