Microsoft Office Forums


Reply
Thread Tools Display Modes

More than 1 cell reference/range in formula

 
 
0-0 Wai Wai ^-^
Guest
Posts: n/a

 
      09-06-2005, 08:11 PM

Hi.
To some formulas like countif(); sumif(), we can type 1 cell reference or cell
range.
How about if I wish to use to type more than 1

eg: countif(A1:A5, C1:C5, E1, E3, E5...
However this method doesn't work.
How to do?


--
Additional information:
- I'm using Office XP
- I'm using Windows XP




 
Reply With Quote
 
 
 
 
KL
Guest
Posts: n/a

 
      09-06-2005, 09:32 PM
Hi,

How about something like this:

=SUMPRODUCT(COUNTIF(INDIRECT({"A2:A5","C1:C5","E1" ,"E3","E5"}),">2"))

Regards,
KL



"0-0 Wai Wai ^-^" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
>
> Hi.
> To some formulas like countif(); sumif(), we can type 1 cell reference or
> cell
> range.
> How about if I wish to use to type more than 1
>
> eg: countif(A1:A5, C1:C5, E1, E3, E5...
> However this method doesn't work.
> How to do?
>
>
> --
> Additional information:
> - I'm using Office XP
> - I'm using Windows XP
>
>
>
>



 
Reply With Quote
 
0-0 Wai Wai ^-^
Guest
Posts: n/a

 
      09-07-2005, 08:32 AM
Hi.
It seems the formula is quite complex.
I have to experiment with it first.

By the way, actually what topics/techniques should I read in order to learn how
to input:
- more than 1 cell reference in different formulas
- more than 1 criterion in different formulas
-- use AND, OR to link each criteria (eg criterion1 AND criterion2 OR
criterion3)

Currently, it seems different formulas have different ways to achieve the above.
(eg if I use countif, I need to do in XX way. If I use sunif, I need to do it in
YY way, and so on).
It would be great if I can learn the technique to do the above, so I don't need
to remember each by each rigidly.


 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: Formula needed: Return cell value in a range depending on other cell values Mangesh Excel Newsgroup 2 05-19-2005 04:54 AM
Making a cell reference in a formula locked when copying to new cell? Lionel B. Dyck Excel Newsgroup 3 10-19-2004 12:29 AM
Change cell reference in formula GTS Excel Newsgroup 2 07-19-2004 12:04 PM
use a formula to reference a named range ryanb. Excel Newsgroup 1 07-06-2004 09:51 PM
Change reference in formula from cell address to name hdf Excel Newsgroup 5 02-02-2004 05:05 PM



All times are GMT. The time now is 02:17 PM.