Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Formula help - need to be able to sort alpabetically so logical values don't work

I have created a workbook in Excel 2002 that has 4 worksheets. 2 of
them interact with each other. One of the worksheets is for a client
to enter detailed data into and the other automatically populates from
some of the first worksheet. My problem is with the worksheet that
basically just contains formulas in order to bring the data over from
the other worksheet. I need to be able to do 2 things that I can't
seem to do together. I need the data to be brought over and if the
cell is blank I need it to return an empty cell, not a 0. I used a
logical value formula to do that, but then because of the default
sorting, when I try to sort the list alphabetically it puts all of the
blank cells first (TRUE before FALSE). I need to find a way to
populate the worksheet with data and still be able to sort
alphabetically and not have a bunch 0's in the cells that brought over
"blank" data. Any ideas? Does this post even make sense? It's hard
to describe without being able to show it to you.

Jessica

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 964
Default Formula help - need to be able to sort alpabetically so logical va

Since the letter "Z" is the last character in Excel's sort sequence, you
can't really have anything sorted after it. (Except empty cells, but if the
cell contains a formula, it isn't empty, no matter what value it returns)

A couple ideas come to mind that may help.

One, is to return a value of "ZZZ" for blank cells. That way, they'd always
be sorted last. If you really don't want the "ZZZ" to appear though, you
could use Conditional Formatting to change the font color to match the
backgroung (ie white on white) for any cell containing "ZZZ".

Another option would be to use a helper column. Insert another column next
to your data. In that column, use a formula like =IF(A1="",2,1). Then, when
you sort, sort by the helper column first, then by your actual data column.
This basically divides your data into two categories, blank and non-blank.
All non-blank data (value of 1) will be sorted first, then all blank data
(value 2) will be sorted last.

HTH,
Elkar


" wrote:

I have created a workbook in Excel 2002 that has 4 worksheets. 2 of
them interact with each other. One of the worksheets is for a client
to enter detailed data into and the other automatically populates from
some of the first worksheet. My problem is with the worksheet that
basically just contains formulas in order to bring the data over from
the other worksheet. I need to be able to do 2 things that I can't
seem to do together. I need the data to be brought over and if the
cell is blank I need it to return an empty cell, not a 0. I used a
logical value formula to do that, but then because of the default
sorting, when I try to sort the list alphabetically it puts all of the
blank cells first (TRUE before FALSE). I need to find a way to
populate the worksheet with data and still be able to sort
alphabetically and not have a bunch 0's in the cells that brought over
"blank" data. Any ideas? Does this post even make sense? It's hard
to describe without being able to show it to you.

Jessica


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
If, Logical Values. samprince Excel Discussion (Misc queries) 9 June 19th 06 05:25 PM
Formula to sort text values with spaces slim Excel Discussion (Misc queries) 4 May 19th 06 01:44 PM
SUM for logical values tjtjjtjt Excel Discussion (Misc queries) 6 November 16th 05 01:30 AM
copy values generated by conditional formula in one sheet to the other work sheet as values ramana Excel Worksheet Functions 1 October 5th 05 01:04 PM
copy values generated by conditional formula in one sheet to the other work sheet as values bobby Excel Discussion (Misc queries) 1 October 5th 05 12:18 PM


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