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 / December 2004

Tip: Looking for answers? Try searching our database.

Using on one list derive from another

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
mikeyts - 15 Dec 2004 17:43 GMT
I need to write a formula to operate on numeric values from column B in the
contiguous range of all rows where column A has a specific string value.  
Column A is sorted on that string value, ascending.  I'm using Excel from
Office Pro 2000.

I'm beginning to think that I need to write some kind of private functions
to find the first and last rows where column A has a specific value.  Before
I perused this forum this morning, I wasn't even aware of private functions.

-- Mike Scott
Frank Kabel - 15 Dec 2004 17:48 GMT
Hi
if you want for example sum column B try:
=SUMIF(A:A,"your string",B:B)

You may explain WHAT you want to do with the values in column B exactly

Signature

Regards
Frank Kabel
Frankfurt, Germany

>I need to write a formula to operate on numeric values from column B in the
> contiguous range of all rows where column A has a specific string value.
[quoted text clipped - 8 lines]
>
> -- Mike Scott
mikeyts - 15 Dec 2004 18:09 GMT
Thanks, Frank, but I did peruse the list of functions and I was aware of
SUMIF--I don't need to sum values from column B.  I need to do some simple
statistical calculations on those ranges:  AVERAGE( ) (which I _could_ get
using SUMIF( )), MIN( ), MAX( ), STDDEV( ).

If possible, it'd be nice if I just had the range to work with in general.

-- Mike Scott

> Hi
> if you want for example sum column B try:
[quoted text clipped - 14 lines]
> >
> > -- Mike Scott
Frank Kabel - 15 Dec 2004 18:12 GMT
Hi
use for example the following array formula (entered with CTRL+SHIFT+ENTER):
=AVERAGE(IF(A1:A100="your text",B1:B100))

Signature

Regards
Frank Kabel
Frankfurt, Germany

> Thanks, Frank, but I did peruse the list of functions and I was aware of
> SUMIF--I don't need to sum values from column B.  I need to do some simple
[quoted text clipped - 27 lines]
>> >
>> > -- Mike Scott
mikeyts - 16 Dec 2004 02:07 GMT
Thanks.  That worked as far as it goes.

Can you further tell me how I could get, for the array returned by
"IF(A1:A100="your text",B1:B100)" an array of those same values which are <=
some other scalar?  The IF() function returns an array, right?  How can I
produce an array which is a subset of that array, <= to some value?

(I'm a software engineer of 25 years experience;  it irks me to be reduced
to helplessness when trying to make this tool some little thing.  The help
file and such documentation as I can find online are horrible.  Oh well--you
can't be an expert in everything).

> Hi
> use for example the following array formula (entered with CTRL+SHIFT+ENTER):
[quoted text clipped - 31 lines]
> >> >
> >> > -- Mike Scott
Frank Kabel - 16 Dec 2004 06:26 GMT
Hi
do you mean
=AVERAGE(IF((A1:A100="your text")*(B1:B100<=100),B1:B100))

Also see:
http://www.dicks-blog.com/archives/2004/12/04/logical-operations-in-array-formul
as/trackback/


Signature

Regards
Frank Kabel
Frankfurt, Germany

> Thanks.  That worked as far as it goes.
>
[quoted text clipped - 52 lines]
>> >> >
>> >> > -- Mike Scott
 
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.