LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11
Default Consolidating with empty-string ("") cells removed

Hi,

I'm trying to get a second table which contains all elements of each
column of the first one, except that the empty-string-output cells ("")
are removed, but one. The first table should remain, the second one can
be either calculated or copied in some way.

I have a formula in every cell which calculates a value. If the result
is not valid, the formula will output "" (empty string). Due to my data
structure there are many empty-string cells between two blocks of values
in each column. I would like to remove all of them, except one, such
that the two blocks are separated by one empty cell in each column.
Empty is ok, I don't need the values/formulas, it is the final output table.

My original table contains the names across, and alpha-numerical values
down the column, with possible "" from formulas inbetween. Like this:

Table1 (what I have):

Name1 Name2 Name3 Name4
E123 E2343 "" E3432
E354 "" "" F3437
N324 "" "" N54323
E634 "" "" ""
"" "" "" ""
"" "" "" ""
"" "" "" ""
I4325 N6377 N3245 G2307
E6543 E5233 "" N29374
N987 N4353 "" ""
G8377 "" "" ""
"" "" "" ""


Table2 (what I need):

Name1 Name2 Name3 Name4
E123 E2343 -- E3432
E354 -- N3245 F3437
N324 N6377 N54323
E634 E5233 --
-- N4353 G2307
I4325 N29374
E6543
N987
G8377

where -- represents a blank/empty cell.

I tried copying and pasting with removing blanks but that doesn't work
as they are considered non-empty because of the formulas, even if I tick
to only paste the values. Copy-paste with a filter won't work as there
isn't enough space left on the sheet, and it would become impractical to
use. Besides, I think I tried that too. VBA is not an option either.

Any ideas how I could get the second table?

Thanks for any help,

Thomas
 
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
"general" cells turned into "accounting" - why and how to reverse Kolhoz Excel Worksheet Functions 1 January 17th 07 06:20 AM
"Control" plus "click" doesn't allow me to select multiple cells Ken Cooke New Users to Excel 0 September 25th 06 04:46 PM
HELP on "left","right","find","len","substitute" functions serene83 Excel Discussion (Misc queries) 5 June 27th 06 02:23 AM
Count occurences of "1"/"0" (or"TRUE"/"FALSE") in a row w. conditions in the next BCB New Users to Excel 7 May 13th 06 10:02 PM
Sorting with formulaically "empty" cells [email protected] Excel Worksheet Functions 5 December 28th 05 06:38 PM


All times are GMT +1. The time now is 02:19 AM.

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"