Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 155
Default COUNTIF

Hi
I have the following formula, which I this forum gave me about six months
ago. The problem is I have just realised it is dependent on a couple of
factors.
1. If I delete or add a column before the group of columns I am working on
the formula returns an error.
2. I have just realised that if the first column in the aray does not have
an entry the whole formula does not work.

While I am grateful to the effort afforded my project already, I would
greatly appreciate if someone could look at my problem
Cell Reference AE5 has the following formula
=IF(COUNT(O5:AB5)=0,"-",SUMPRODUCT(--(MOD(COLUMN($O$3:$AC$3),2)=1),($O$3:$AC$3),--(MOD(COLUMN(P5:AD5),2)=0),(P5:AD5))*0.01)

What I need to do is as follows:

In columns O to AC row 3 alternate cells there is a % value
In columns P to AD Row 5-34 in alternate cells the content is either "-" or
value between 0-100

Therefore cell AE5 needs to calculate P5*O3 + R5*Q3 and so on...

I pray there is an easier formula to work with because I just can't get the
formula to work properly, every time I want to add a column to the left area
I am working in I get errors.

Please help

Regards
Tanya

 
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
sum a countif tamiluchi Excel Worksheet Functions 4 September 14th 06 10:08 PM
How do I use a countif function according to two other countif fu. Kirsty Excel Worksheet Functions 2 February 20th 06 11:44 AM
edit this =COUNTIF(A1:F16,"*1-2*")+COUNTIF(A1:F16,"*2-1*") sctroy Excel Discussion (Misc queries) 2 September 25th 05 04:13 AM
COUNTIF or not to COUNTIF on a range in another sheet Ellie Excel Worksheet Functions 4 September 15th 05 10:06 PM
COUNTIF in one colum then COUNTIF in another...??? JonnieP Excel Worksheet Functions 3 February 22nd 05 02:55 PM


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