LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 17
Default How create a nonblank source for a verification list with a mix of filled & empty cells?

Hi,
I have a source range containing a mix of filled and empty cells with name
"ListSource"

A1: 111
A2: 222
A3:
A4: 444
A5: 555
A6:
A7: 777
A8:
A9:
A10:

In the drop down verification on another sheet I refere to "=ListSource" and
there it is - all cells including the empty ones. I want the list to show:

111
222
444
555
777

The ListSource has to be in a row, therefore can I not create the list just
with a Autofilter macro...

I have also tried the 'nonVBA way' with John Walkenbach's forumla "Returning
Nonblank Cells from a Range" without been able to reconstruct his result
(oh, yes - i used ctr-shift-enter to make arrays).
{=IF(ISERR(SMALL(IF(Data<"",ROW(INDIRECT("1:"&ROW S(Data)))),ROW(INDIRECT("1:"&ROWS(Data))))),"",IND EX(Data,SMALL(IF(Data<"",ROW(INDIRECT("1:"&ROWS(D ata)))),ROW(INDIRECT("1:"&ROWS(Data))))))}

For the very interested i translated it to swedish
{=OM(ÄRFEL(MINSTA(OM(YourData<"";RAD(INDIREKT("1: "&RADER(YourData))));RAD(INDIREKT("1:"&RADER(YourD ata)))));"";INDEX(YourData;MINSTA(OM(YourData<""; RAD(INDIREKT("1:"&RADER(YourData))));RAD(INDIREKT( "1:"&RADER(YourData))))))}
..

Maybe I didn't get something right in the interpretation, but hey, it's
better to do it in VBA that I know, rather than trying to make it with this
long formula (even better would be to fully understand the formula, I admit
;-)

Anybody back from summer vacations yet?
/ Regards !


 
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
Excel counting empty cells until first filled one Rafael Martinez Excel Discussion (Misc queries) 2 September 17th 09 05:20 PM
How can I make Excel add an empty row every filled one in a list . Diego C. Excel Worksheet Functions 3 March 6th 08 11:08 PM
Macro Request: Fill in empty cells with previous Filled cell in column Artis Excel Worksheet Functions 2 June 25th 07 08:30 PM
Copy Data From Filled to Empty Cells Sheikh Saadi Excel Discussion (Misc queries) 0 November 10th 05 07:21 PM
What must I do to get gridlines printed for both filled and empty cells? Hubert Earl Excel Programming 1 November 7th 04 08:33 PM


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