Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8
Default function help, sumif??

Hi

I'm a new user to this site. I've used it to get this far, but now I'm stuck.

D11:D50 has quantity values, which can alter

I11:I50 have a pull down menu (as do columns K, M, O)
J11:J50 have a length, which can alter (as do columns L, N, P)

I66 onwards has each value of the pull down menu (10 values) with the total
meterage to be (hopefully) in the next cell. Currently, it works but without
multiply it with the values in D, so total material meterage is short!

Current formula: =(SUMIF($I$11:$I$47,"value1",
$J$11:$J$47)+(SUMIF($K$11:$K$47,"value1",$L$11:$L$ 47))+(SUMIF($M$11:$M$47,"value1",$N$11:$N$47))+(SU MIF($O$11:$O$47,"value1",$P$11:$P$47)))/1000

This is repeated in 10 rows, changing "vaule1" accordingly.
/1000 is just a convertion from mm to m.
I don't know if "sumif" is correct or???

Hope someone can shed some light on this?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 265
Default function help, sumif??

In article ,
QChris wrote:

Hi

I'm a new user to this site. I've used it to get this far, but now I'm stuck.

D11:D50 has quantity values, which can alter

I11:I50 have a pull down menu (as do columns K, M, O)
J11:J50 have a length, which can alter (as do columns L, N, P)

I66 onwards has each value of the pull down menu (10 values) with the total
meterage to be (hopefully) in the next cell. Currently, it works but without
multiply it with the values in D, so total material meterage is short!

Current formula: =(SUMIF($I$11:$I$47,"value1",
$J$11:$J$47)+(SUMIF($K$11:$K$47,"value1",$L$11:$L$ 47))+(SUMIF($M$11:$M$47,"val
ue1",$N$11:$N$47))+(SUMIF($O$11:$O$47,"value1",$P$ 11:$P$47)))/1000

This is repeated in 10 rows, changing "vaule1" accordingly.
/1000 is just a convertion from mm to m.
I don't know if "sumif" is correct or???

Hope someone can shed some light on this?



If the values in Columns I, K, M< and O are unique to those columns and
do not occur in Columns J, L, N, and P, try the following formula that
needs to be confirmed with CONTROL+SHIFT+ENTER...

=SUM(IF($I$11:$O$50=I66,($J$11:$P$50)*($D$11:$D$50 )))/1000

Otherwise, try...


=SUM(IF(MOD(COLUMN($I$11:$O$50)-COLUMN($I$11),2)=0,IF($I$11:$O$50=I66,($J
$11:$P$50)*($D$11:$D50))))/1000

....which also needs to be confirmed with CONTROL+SHIFT+ENTER.

--
Domenic
Microsoft Excel MVP
www.xl-central.com
Your Quick Reference to Excel Solutions
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8
Default function help, sumif??

Thanks, that works a treat.

"Domenic" wrote:

In article ,
QChris wrote:

Hi

I'm a new user to this site. I've used it to get this far, but now I'm stuck.

D11:D50 has quantity values, which can alter

I11:I50 have a pull down menu (as do columns K, M, O)
J11:J50 have a length, which can alter (as do columns L, N, P)

I66 onwards has each value of the pull down menu (10 values) with the total
meterage to be (hopefully) in the next cell. Currently, it works but without
multiply it with the values in D, so total material meterage is short!

Current formula: =(SUMIF($I$11:$I$47,"value1",
$J$11:$J$47)+(SUMIF($K$11:$K$47,"value1",$L$11:$L$ 47))+(SUMIF($M$11:$M$47,"val
ue1",$N$11:$N$47))+(SUMIF($O$11:$O$47,"value1",$P$ 11:$P$47)))/1000

This is repeated in 10 rows, changing "vaule1" accordingly.
/1000 is just a convertion from mm to m.
I don't know if "sumif" is correct or???

Hope someone can shed some light on this?



If the values in Columns I, K, M< and O are unique to those columns and
do not occur in Columns J, L, N, and P, try the following formula that
needs to be confirmed with CONTROL+SHIFT+ENTER...

=SUM(IF($I$11:$O$50=I66,($J$11:$P$50)*($D$11:$D$50 )))/1000

Otherwise, try...


=SUM(IF(MOD(COLUMN($I$11:$O$50)-COLUMN($I$11),2)=0,IF($I$11:$O$50=I66,($J
$11:$P$50)*($D$11:$D50))))/1000

....which also needs to be confirmed with CONTROL+SHIFT+ENTER.

--
Domenic
Microsoft Excel MVP
www.xl-central.com
Your Quick Reference to Excel Solutions
.

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
How to nest a left function within a sumif function? LisaK Excel Worksheet Functions 2 April 23rd 23 11:46 AM
Using the TODAY() function in a SUMIF function JPB Excel Worksheet Functions 4 July 27th 06 04:01 PM
SUMIF Function Inside SUMPRODUCT Function Abdul Waheed Excel Worksheet Functions 17 September 19th 05 04:24 PM
Can SUMIF function include AND function ShaneS Excel Worksheet Functions 1 May 17th 05 03:24 AM
SUMIF - Range name to used for the "sum_range" portion of a SUMIF function Oscar Excel Worksheet Functions 2 January 11th 05 11:01 PM


All times are GMT +1. The time now is 03:31 PM.

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"