Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Formula using data from 3 separate columns

I need to create a formula that pulls data from 3 separate columns. The
formula would answer the following:

If an assessment date is between x and y (column F) AND the victim is under
age 18 (column C), then TOTAL the number of primary victims (column D).

I know it would involve a few nested functions, but just don't know how to
write up the actual formula. Suggestions??
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Formula using data from 3 separate columns

One way to frame it up is via sumproduct, eg:
=SUMPRODUCT((F2:F10=--"15 Jul 2009")*(F2:F10<--"15 Aug
2009")*(C2:C10<18),D2:D10)
Adapt to suit the actual extents of the data, and your actual criteria. It's
presumed that dates in col F are real dates recognized by Excel, and that
cols C and D contain real numbers.
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:27,000 Files:200 Subscribers:70
xdemechanik
---
"MSW Intern" wrote:
I need to create a formula that pulls data from 3 separate columns. The
formula would answer the following:

If an assessment date is between x and y (column F) AND the victim is under
age 18 (column C), then TOTAL the number of primary victims (column D).

I know it would involve a few nested functions, but just don't know how to
write up the actual formula. Suggestions??

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 120
Default Formula using data from 3 separate columns

Hi
Assuming that the criteria dates are from 7/1/2009 to 7/10/2009 in col F
try this
=SUMPRODUCT((F2:F16=DATE(2009,7,1))*(F2:F16<=DATE (2009,7,10))*(C2:C16<=18))

this will give you the total number for Age is less than or equal to 18

--
Hope this is helpful

Pls click the Yes button below if this post provide answer you have asked

Thank You

cheers, francis

Am not a greek but an ordinary user trying to assist another



"MSW Intern" wrote:

I need to create a formula that pulls data from 3 separate columns. The
formula would answer the following:

If an assessment date is between x and y (column F) AND the victim is under
age 18 (column C), then TOTAL the number of primary victims (column D).

I know it would involve a few nested functions, but just don't know how to
write up the actual formula. Suggestions??

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
Downloaded CSV Data to Automatically Appear in Separate Columns Monk[_2_] Excel Discussion (Misc queries) 1 March 16th 09 12:50 PM
Separate data in a column into new columns Mitchell_Collen via OfficeKB.com Excel Discussion (Misc queries) 1 April 11th 08 02:59 PM
Separate data into two columns Cheri Excel Discussion (Misc queries) 5 October 3rd 06 01:20 AM
swapping data from 2 separate columns Johnny D Excel Discussion (Misc queries) 1 February 15th 06 11:40 PM
swapping data from 2 separate columns Johnny D Excel Discussion (Misc queries) 1 February 15th 06 08:09 PM


All times are GMT +1. The time now is 07:49 PM.

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"