#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default If statement

I have been reading many threads regarding formulas what I am attempting to
do is create a formula that will take the range of A6:A19 and if there is a
V, D, or M in that cell then pick up the number in column F6:F19 on the same
row.

Example A7 has V, A10 has D, and A18 has M so I need it to pick of the value
of F7+F10+F18 for a sum.

Is there a faster way than an IF statement for each row?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,501
Default If statement

You have answers in your other post

http://www.microsoft.com/office/comm...0-e1f9075d5118
--
Mike

When competing hypotheses are otherwise equal, adopt the hypothesis that
introduces the fewest assumptions while still sufficiently answering the
question.


"Debra Reid" wrote:

I have been reading many threads regarding formulas what I am attempting to
do is create a formula that will take the range of A6:A19 and if there is a
V, D, or M in that cell then pick up the number in column F6:F19 on the same
row.

Example A7 has V, A10 has D, and A18 has M so I need it to pick of the value
of F7+F10+F18 for a sum.

Is there a faster way than an IF statement for each row?

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 52
Default If statement

=IF(A7="v",F7,IF(A7="d",F7,IF(A7="m",F7,"")))
Russell Dawson
Excel Student


"Debra Reid" wrote:

I have been reading many threads regarding formulas what I am attempting to
do is create a formula that will take the range of A6:A19 and if there is a
V, D, or M in that cell then pick up the number in column F6:F19 on the same
row.

Example A7 has V, A10 has D, and A18 has M so I need it to pick of the value
of F7+F10+F18 for a sum.

Is there a faster way than an IF statement for each row?

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default If statement

Hmmm...

This post is a lot different from your other post.

Try this...

=SUM(SUMIF(A6:A19,{"V","D","M"},F6:F19))

--
Biff
Microsoft Excel MVP


"Debra Reid" wrote in message
...
I have been reading many threads regarding formulas what I am attempting to
do is create a formula that will take the range of A6:A19 and if there is
a
V, D, or M in that cell then pick up the number in column F6:F19 on the
same
row.

Example A7 has V, A10 has D, and A18 has M so I need it to pick of the
value
of F7+F10+F18 for a sum.

Is there a faster way than an IF statement for each row?



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
IF statement inside a SUMIF statement.... or alternative method Sungibungi Excel Worksheet Functions 3 December 4th 09 06:22 PM
Reconcile Bank statement & Credit card statement & accounting data Bklynhyc Excel Worksheet Functions 0 October 7th 09 09:07 PM
Embedding an OR statement in an IF statement efficiently Chatnoir11 Excel Discussion (Misc queries) 4 February 2nd 09 08:12 PM
If statement or lookup statement not sure Renegade40 Excel Worksheet Functions 2 January 18th 09 06:11 AM
appending and IF statement to an existing IF statement spence Excel Worksheet Functions 1 February 28th 06 11:00 PM


All times are GMT +1. The time now is 02:50 AM.

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

About Us

"It's about Microsoft Excel"