Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / New Users / July 2007

Tip: Looking for answers? Try searching our database.

Array without falses

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Excel@shoenfeltconsulting.com - 02 Jul 2007 17:26 GMT
I posted this a long time ago.  I thought I'd try again.  Please see
below:

Jim Shoenfelt    View profile
 More options Oct 14 2000, 3:00 am

Newsgroups: microsoft.public.excel
From: Jim Shoenfelt <jimshoenf...@my-deja.com>
Date: 2000/10/14
Subject: Getting an array of selected records with no "FALSE"s
Reply to author | Forward | Print | Individual message | Show original
| Report this message | Find messages by this author
       A       B
1       apple   3
2       apple   5
3       apple   7
4       banana  13
5       banana  16

I want to write a formula that will return the array {3,5,7}
I try {if(A1.a5 = "apple",B1.b5)}, but that returns:
{3,5,7,False,False}

Is there someway to get this without the "false"s?  i.e.to return
{3,5,7}?
--

Sent via Deja.com http://www.deja.com/
Before you buy.
Peo Sjoblom - 02 Jul 2007 17:33 GMT
You need to enter the formula in 5 cells

=IF(A1:A5 = "apple",B1:B5,"")

will return {3,5,7,"",""}

Signature

Regards,

Peo Sjoblom

>I posted this a long time ago.  I thought I'd try again.  Please see
> below:
[quoted text clipped - 25 lines]
> Sent via Deja.com http://www.deja.com/
> Before you buy.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.