Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 24
Default IF and VLOOKUP (maybe)

i have a 3 columns, K, L and M with values. at the end of the column im
trying to put in an if statement that says to add all values in the range
K13:L16 up to the same row that column M has a value higher than zero. Im not
very good at explanations so i'll "draw" the pic.

K L M
__________________________
13 | 100 250 5.50
14 | 500 100 2.50
15 | 600 50 6.48
16 | 200 0 0
17 | 200 100 0
____________________________
18 | In theory K & L merged would give me the sum of K13:15 only
because M16 & M17 have 0 as their value.


Thanks to all in advance for helping this simple-minded person.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,047
Default IF and VLOOKUP (maybe)

Hi,

=sumif(M13:m17,"0",k13:l17)

hth

-
regards from Brazil
Thanks in advance for your feedback.
Marcelo



"Daniel Q." escreveu:

i have a 3 columns, K, L and M with values. at the end of the column im
trying to put in an if statement that says to add all values in the range
K13:L16 up to the same row that column M has a value higher than zero. Im not
very good at explanations so i'll "draw" the pic.

K L M
__________________________
13 | 100 250 5.50
14 | 500 100 2.50
15 | 600 50 6.48
16 | 200 0 0
17 | 200 100 0
____________________________
18 | In theory K & L merged would give me the sum of K13:15 only
because M16 & M17 have 0 as their value.


Thanks to all in advance for helping this simple-minded person.

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
VLookup a Vlookup adamb2000 Excel Worksheet Functions 4 June 28th 06 10:54 PM
VLOOKUP Problem Ian Excel Discussion (Misc queries) 3 April 6th 06 06:47 PM
Using single cell reference as table array argument in Vlookup CornNiblet Excel Worksheet Functions 3 September 22nd 05 09:15 AM
VLOOKUP Limitations chris_manning Excel Worksheet Functions 2 August 9th 05 06:23 PM
vlookup data hidden within worksheet Excel Worksheet Functions 0 January 26th 05 12:09 PM


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