#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default IF formula question

See if anyone can help... I am trying to write a formula that-- if column B
has a specific value it will add the quanity from the corresponding block in
column D. Seems all I can end up with is a zero each time.

a b c d
1 e z f 1
2 d d z 3
3 e s e 1

if it a value in column a = e than add value of d
the answer would be 2.

thanks

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default IF formula question

Try this:

=SUMIF(A1:A3,"e",D1:D3)

Biff

"frozn1" wrote in message
...
See if anyone can help... I am trying to write a formula that-- if column
B
has a specific value it will add the quanity from the corresponding block
in
column D. Seems all I can end up with is a zero each time.

a b c d
1 e z f 1
2 d d z 3
3 e s e 1

if it a value in column a = e than add value of d
the answer would be 2.

thanks



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default IF formula question

With a little modification it worked for my app..

Thanks

"T. Valko" wrote:

Try this:

=SUMIF(A1:A3,"e",D1:D3)

Biff

"frozn1" wrote in message
...
See if anyone can help... I am trying to write a formula that-- if column
B
has a specific value it will add the quanity from the corresponding block
in
column D. Seems all I can end up with is a zero each time.

a b c d
1 e z f 1
2 d d z 3
3 e s e 1

if it a value in column a = e than add value of d
the answer would be 2.

thanks




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
Find value in array Brook6 Excel Worksheet Functions 26 January 30th 07 09:40 PM
Formula question goodolehuskers Excel Worksheet Functions 1 July 19th 06 11:10 PM
Repeating Formula Question THSaldivar Excel Discussion (Misc queries) 1 July 3rd 06 03:36 PM
Match then lookup Tenacity Excel Worksheet Functions 9 December 3rd 05 05:30 AM
Formula Problem - interrupted by #VALUE! in other cells!? Ted Excel Worksheet Functions 17 November 25th 05 05:18 PM


All times are GMT +1. The time now is 02:51 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"