#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default help urgent

needs help with excel. i need to write a formula to check
3 columns and then sum the 4th column if ther value of the
3 columns are true.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,885
Default help urgent

Hi
try
=SUMPRODUCT(--(A1:A100="cond1"),--B1:B100="cond2"),--
(C1:C100="cond3"),D1:D100)

-----Original Message-----
needs help with excel. i need to write a formula to check
3 columns and then sum the 4th column if ther value of

the
3 columns are true.
.

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default help urgent

I have done the
exercise:=SUMPRODUCT(--(A1:A=H1),--(B:B=426351),--(C:C=cr),D:D)

and I get #NAME?

Please advise.

Thanks!!!!!!


Daniel



*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default help urgent

I have tried: =SUMPRODUCT(--(A1:A=H1),--(B:B=426351),--
(C:C=cr),D:D)

and I get error:#NAME?

-----Original Message-----
Hi
try
=SUMPRODUCT(--(A1:A100="cond1"),--B1:B100="cond2"),--
(C1:C100="cond3"),D1:D100)

-----Original Message-----
needs help with excel. i need to write a formula to

check
3 columns and then sum the 4th column if ther value of

the
3 columns are true.
.

.

  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 52
Default help urgent

Daniel
Please note in the initial sample formula Frank and myself provided,
crtierias where between apostrophees.
In your case, assuming values in Column A and Column C are text, amend with
:
=SUMPRODUCT(--(A1:A="00001001"),--(B:B=426351),--(C:C="cr"),D:D)

HTH
Cordially
Pascal

"Daniel Macgaw" a écrit dans le message de
...
I have tried: =SUMPRODUCT(--(A1:A=H1),--(B:B=426351),--
(C:C=cr),D:D)

and I get error:#NAME?

-----Original Message-----
Hi
try
=SUMPRODUCT(--(A1:A100="cond1"),--B1:B100="cond2"),--
(C1:C100="cond3"),D1:D100)

-----Original Message-----
needs help with excel. i need to write a formula to

check
3 columns and then sum the 4th column if ther value of

the
3 columns are true.
.

.





  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default help urgent

Hi
couple of things :-)
- SUMPRODUCT does not accept ranges like A:A. You have to
use something like A1:A1000
- You have to use apostrophes to look for strings.

So assuming that cell H1 contains the condition for column
A try:
=SUMPRODUCT(--(A1:A1000=H1),--(B1:B1000=426351),--
(C1:C1000="cr"),D1:D1000)

If the values in column B are stroed as 'Text' you may use:
=SUMPRODUCT(--(A1:A1000=H1),--(B1:B1000="426351"),--
(C1:C1000="cr"),D1:D1000)

-----Original Message-----
I have tried: =SUMPRODUCT(--(A1:A=H1),--(B:B=426351),--
(C:C=cr),D:D)

and I get error:#NAME?

-----Original Message-----
Hi
try
=SUMPRODUCT(--(A1:A100="cond1"),--B1:B100="cond2"),--
(C1:C100="cond3"),D1:D100)

-----Original Message-----
needs help with excel. i need to write a formula to

check
3 columns and then sum the 4th column if ther value of

the
3 columns are true.
.

.

.

Reply
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
IME MODE FOR EXCEL 2007 (URGENT URGENT) Stella Wong Excel Discussion (Misc queries) 1 August 23rd 08 11:16 PM
Urgent-Urgent VBA LOOP Jeff Excel Discussion (Misc queries) 0 October 6th 05 05:46 PM
Urgent Help VBA Jeff Excel Discussion (Misc queries) 3 October 4th 05 10:06 PM
Macro help urgent urgent Dave Peterson[_3_] Excel Programming 0 September 4th 03 03:59 PM
Macro help urgent urgent chandra Excel Programming 0 September 4th 03 03:50 PM


All times are GMT +1. The time now is 05:22 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"