ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Help PLEASE!!!! (https://www.excelbanter.com/excel-programming/343805-help-please.html)

joi2[_7_]

Help PLEASE!!!!
 

I need a little help does anyone know of a code that can add a cell if a
certain condition is true. For instance I attached a file to help
understand this a little better. If for instance cell a3 = (cell) and
cell d3 = (no) add whatever value is in cell b3. and do this every
time that case is true does anyone know how to do that?


+-------------------------------------------------------------------+
|Filename: jea.zip |
|Download: http://www.excelforum.com/attachment.php?postid=3948 |
+-------------------------------------------------------------------+

--
joi2
------------------------------------------------------------------------
joi2's Profile: http://www.excelforum.com/member.php...o&userid=27554
View this thread: http://www.excelforum.com/showthread...hreadid=479172


Tom Ogilvy

Help PLEASE!!!!
 
assume (cell) means the value held in cell M9

=Sumproduct(--(A2:A50=$M$9),--(D3:D50="No"),B3:B50)

--
Regards,
Tom Ogilvy

"joi2" wrote in message
...

I need a little help does anyone know of a code that can add a cell if a
certain condition is true. For instance I attached a file to help
understand this a little better. If for instance cell a3 = (cell) and
cell d3 = (no) add whatever value is in cell b3. and do this every
time that case is true does anyone know how to do that?


+-------------------------------------------------------------------+
|Filename: jea.zip |
|Download: http://www.excelforum.com/attachment.php?postid=3948 |
+-------------------------------------------------------------------+

--
joi2
------------------------------------------------------------------------
joi2's Profile:

http://www.excelforum.com/member.php...o&userid=27554
View this thread: http://www.excelforum.com/showthread...hreadid=479172




Bob Phillips[_6_]

Help PLEASE!!!!
 
SUMPRODUCT must use similar sized ranges

=Sumproduct(--(A3:A50=$M$9),--(D3:D50="No"),B3:B50)


--

HTH

RP
(remove nothere from the email address if mailing direct)


"Tom Ogilvy" wrote in message
...
assume (cell) means the value held in cell M9

=Sumproduct(--(A2:A50=$M$9),--(D3:D50="No"),B3:B50)

--
Regards,
Tom Ogilvy

"joi2" wrote in

message
...

I need a little help does anyone know of a code that can add a cell if a
certain condition is true. For instance I attached a file to help
understand this a little better. If for instance cell a3 = (cell) and
cell d3 = (no) add whatever value is in cell b3. and do this every
time that case is true does anyone know how to do that?


+-------------------------------------------------------------------+
|Filename: jea.zip |
|Download: http://www.excelforum.com/attachment.php?postid=3948 |
+-------------------------------------------------------------------+

--
joi2
------------------------------------------------------------------------
joi2's Profile:

http://www.excelforum.com/member.php...o&userid=27554
View this thread:

http://www.excelforum.com/showthread...hreadid=479172






Tom Ogilvy

Help PLEASE!!!!
 
Yep, typo, thanks.

--
Regards,
Tom Ogilvy

"Bob Phillips" wrote in message
...
SUMPRODUCT must use similar sized ranges

=Sumproduct(--(A3:A50=$M$9),--(D3:D50="No"),B3:B50)


--

HTH

RP
(remove nothere from the email address if mailing direct)


"Tom Ogilvy" wrote in message
...
assume (cell) means the value held in cell M9

=Sumproduct(--(A2:A50=$M$9),--(D3:D50="No"),B3:B50)

--
Regards,
Tom Ogilvy

"joi2" wrote in

message
...

I need a little help does anyone know of a code that can add a cell if

a
certain condition is true. For instance I attached a file to help
understand this a little better. If for instance cell a3 = (cell) and
cell d3 = (no) add whatever value is in cell b3. and do this every
time that case is true does anyone know how to do that?


+-------------------------------------------------------------------+
|Filename: jea.zip |
|Download: http://www.excelforum.com/attachment.php?postid=3948 |
+-------------------------------------------------------------------+

--
joi2


------------------------------------------------------------------------
joi2's Profile:

http://www.excelforum.com/member.php...o&userid=27554
View this thread:

http://www.excelforum.com/showthread...hreadid=479172









All times are GMT +1. The time now is 01:06 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com