LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Report Post  
Posted to microsoft.public.excel.misc
Max Max is offline
external usenet poster
 
Posts: 9,221
Default One formula, many possible answers.

One guess ..

Assume the 6 source cells are A1:F1 in Sheet1

In Sheet2,

Put in A1:
=IF(Sheet1!A1="","",COLUMN())

Put in A2:
=IF(COLUMN()COUNT(1:1),"",INDEX(Sheet1!$A$1:$F$1, SMALL(1:1,COLUMN())))
Select A1:A2, copy across to F2. Hide away row1. A2:F2 will return the
required results from Sheet1's A1:F1, all neatly bunched to the left. Test it
out ...
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"GARDNERGUY" wrote:
I have 6 cells, I'll call them A-F, that may or may not have data in them.
I want 6 other cells to check the first 6 for data.
If A is blank, check B and insert if not blank.
Then check C, if blank, check D and insert.
Any of the 6 could be listed in any of the other 6 cells.
If only C has data, then only one cell on the new page is necessary.
I A,C,E,&F have data, then 4 cells on the new page are necessary.
I want this to be automatic as data is entered in the first 6.

Hope this makes sense. Thanks for the help.

 
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
Formula question - does anybody have the answers? Orangepegs Excel Worksheet Functions 3 January 17th 07 11:34 PM
How do I create an If/or formula with more then two answers? LisaLisaKK Excel Discussion (Misc queries) 4 October 5th 06 06:39 PM
using formula with several possible answers jog398 Excel Worksheet Functions 3 May 19th 06 02:39 AM
formula gives 2 different answers klee Excel Worksheet Functions 3 January 10th 06 12:58 PM
After using a formula how can I filter out answers I don't want? Em Excel Worksheet Functions 2 July 26th 05 02:38 PM


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