Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Sheri
 
Posts: n/a
Default If Formula

I am trying to find a short cut for the if funtion. Here is my formula (it
takes so long to input and then when I want to copy it to a new set of
values, it takes a long time to revise. Here is my recent formula for on one
of the values that I need.
=IF(C5=1,SUM(D5),0)+IF(C6=1,SUM(D6),0)+IF(C7=1,SUM (D7),0)+IF(C21=1,SUM(D21),0)+IF(C22=1,SUM(D22),0)+ IF(C23=1,SUM(D23),0)+IF(C24=1,SUM(D24),0)+IF(C25=1 ,SUM(D25),0)+IF(C35=1,SUM(D35),0)+IF(C36=1,SUM(D36 ),0)+IF(C37=1,SUM(D37),0)+IF(C38=1,SUM(D38),0)+IF( C39=1,SUM(D39),0)+IF(C40=1,SUM(D40),0)+IF(C41=1,SU M(D41),0)+IF(C42=1,SUM(D42),0)+IF(C43=1,SUM(D43),0 )+IF(C44=1,SUM(D44),0)+IF(C45=1,SUM(D45),0)+IF(C46 =1,SUM(D46),0)+IF(C47=1,SUM(D47),0)
This is what I tried to do, =IF(C5:C47=1,SUM(D5:D47),0) but it does not like
the (C5:C47)
--
Sheri
 
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
Hide formula skateblade Excel Worksheet Functions 10 October 15th 05 08:36 PM
Formula checking multiple worksheets sonic-the-mouse Excel Worksheet Functions 2 June 5th 05 03:28 AM
IF & VLOOKUP FORMULA taxmom Excel Worksheet Functions 3 March 2nd 05 03:35 PM
Match / Vlookup within an Array formula Hari Prasadh Excel Discussion (Misc queries) 3 February 3rd 05 04:37 PM
Help with macro formula and variable Huge project Excel Worksheet Functions 0 December 28th 04 01:27 AM


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