Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
TJP
 
Posts: n/a
Default If Formula suggestion

I have a sheet that will have three key columns of input.

Column one is the month (jan, feb, etc)
Column two is a percentage
Column three is a whole number

I would like to write a formula on a seperate worksheet to capture data from
these columns. Basically what I would like it to say is

If month=Jan and %=100, then use whole number from corresponding row in
column 3.

(i.e. --- 100,000 Jan 100%

Can I use a query or sum feature that will sum all whole numbers in which
Jan and 100% are present since there are mulitple rows of data. I will have
this formula for each month.

Thanks in advance for any suggestions provided.
  #2   Report Post  
Peo Sjoblom
 
Posts: n/a
Default

=SUMPRODUCT(--('Sheet1'!A2:A200="Jan"),--('Sheet1'!B2:B100=1),'Sheet1'!C2:C100)


if the percentage is real percentage then the above should work, if it just
a header
saying Percentage and the values are integers like 100 for 100% then use 100


Regards,

Peo Sjoblom

"TJP" wrote:

I have a sheet that will have three key columns of input.

Column one is the month (jan, feb, etc)
Column two is a percentage
Column three is a whole number

I would like to write a formula on a seperate worksheet to capture data from
these columns. Basically what I would like it to say is

If month=Jan and %=100, then use whole number from corresponding row in
column 3.

(i.e. --- 100,000 Jan 100%

Can I use a query or sum feature that will sum all whole numbers in which
Jan and 100% are present since there are mulitple rows of data. I will have
this formula for each month.

Thanks in advance for any suggestions provided.

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
referencing named formula using INDIRECT function [email protected] Excel Worksheet Functions 19 May 11th 05 09:48 AM
Simplify formula Luke Excel Worksheet Functions 37 May 6th 05 07:21 AM
Polynimial trandline formula CLR Charts and Charting in Excel 9 February 7th 05 07:31 PM
how do i write a formula and keep in in formula form, so it DOESN. norcalchick2207 Excel Discussion (Misc queries) 2 February 4th 05 08:38 PM
Match / Vlookup within an Array formula Hari Prasadh Excel Discussion (Misc queries) 3 February 3rd 05 04:37 PM


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