PC Review


Reply
Thread Tools Rate Thread

Any ideas for this formula???

 
 
John Sofillas
Guest
Posts: n/a
 
      8th Jul 2011
I am looking for the sum of several numbers (with the intent that as I
delete the columns of the #'s out of the look up, the formula doesn't
result in an error). To make things even tougher, there will be 2
formulas needed, where each are looking for their own respective
answers coming from the same row. Confused? lol..... Below are
examples of both.....

The 1st formula would go into cell D45. I need it to return the sum of
P42, V42, AB42, and so on all the way out to DH42 (17 total cells).
The 2nd formula would go into cell D46. I need it to return the sum of
Q42, W42, AC42 and so on all the way out to DI42 (17 total cells).
Keep in mind that as I delete columns DH and DI, and DB and DC and so
on all the way back, that the formulas in D45 and D46 still continue
to work.

I hope I explained this clear enough to you all. Any questions, let me
know. Thanks again in advance for your help.

John
 
Reply With Quote
 
 
 
 
Don Guillett
Guest
Posts: n/a
 
      8th Jul 2011
On Jul 8, 7:20*am, John Sofillas <jsofil...@gmail.com> wrote:
> I am looking for the sum of several numbers (with the intent that as I
> delete the columns of the #'s out of the look up, the formula doesn't
> result in an error). To make things even tougher, there will be 2
> formulas needed, where each are looking for their own respective
> answers coming from the same row. Confused? lol..... Below are
> examples of both.....
>
> The 1st formula would go into cell D45. I need it to return the sum of
> P42, V42, AB42, and so on all the way out to DH42 (17 total cells).
> The 2nd formula would go into cell D46. I need it to return the sum of
> Q42, W42, AC42 and so on all the way out to DI42 (17 total cells).
> Keep in mind that as I delete columns DH and DI, and DB and DC and so
> on all the way back, that the formulas in D45 and D46 still continue
> to work.
>
> I hope I explained this clear enough to you all. Any questions, let me
> know. Thanks again in advance for your help.
>
> John


Try where you sum one more column than needed

=sum(q42:dJ42)
 
Reply With Quote
 
Claus Busch
Guest
Posts: n/a
 
      8th Jul 2011
Hi John,

Am Fri, 8 Jul 2011 05:20:49 -0700 (PDT) schrieb John Sofillas:

> The 1st formula would go into cell D45. I need it to return the sum of
> P42, V42, AB42, and so on all the way out to DH42 (17 total cells).
> The 2nd formula would go into cell D46. I need it to return the sum of
> Q42, W42, AC42 and so on all the way out to DI42 (17 total cells).
> Keep in mind that as I delete columns DH and DI, and DB and DC and so
> on all the way back, that the formulas in D45 and D46 still continue
> to work.


first formula:
=SUMPRODUCT(--(MOD(COLUMN(P42I42),6)=4),P42I42)
second formula:
=SUMPRODUCT(--(MOD(COLUMN(P42I42),6)=5),P42I42)


Regards
Claus Busch
--
Win XP PRof SP2 / Vista Ultimate SP2
Office 2003 SP2 /2007 Ultimate SP2
 
Reply With Quote
 
John Sofillas
Guest
Posts: n/a
 
      8th Jul 2011
On Jul 8, 10:05*am, Claus Busch <claus_bu...@t-online.de> wrote:
> Hi John,
>
> Am Fri, 8 Jul 2011 05:20:49 -0700 (PDT) schrieb John Sofillas:
>
> > The 1st formula would go into cell D45. I need it to return the sum of
> > P42, V42, AB42, and so on all the way out to DH42 (17 total cells).
> > The 2nd formula would go into cell D46. I need it to return the sum of
> > Q42, W42, AC42 and so on all the way out to DI42 (17 total cells).
> > Keep in mind that as I delete columns DH and DI, and DB and DC and so
> > on all the way back, that the formulas in D45 and D46 still continue
> > to work.

>
> first formula:
> =SUMPRODUCT(--(MOD(COLUMN(P42I42),6)=4),P42I42)
> second formula:
> =SUMPRODUCT(--(MOD(COLUMN(P42I42),6)=5),P42I42)
>
> Regards
> Claus Busch
> --
> Win XP PRof SP2 / Vista Ultimate SP2
> Office 2003 SP2 /2007 Ultimate SP2




Thanks Claus!!! Perfect!
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Need ideas on which formula(s) to use in this situation ker_01 Microsoft Excel Worksheet Functions 3 26th Aug 2008 10:18 PM
Having trouble with my formula ideas today Dallman Ross Microsoft Excel Misc 9 29th Jul 2007 06:16 PM
Need formula - Any ideas**** =?Utf-8?B?d2Fsa2VyVA==?= Microsoft Excel Misc 3 13th Mar 2007 08:38 PM
ANY IDEAS FOR A FORMULA TO KEEP A TEAM BOWLING SCORE =?Utf-8?B?ZWQ=?= Microsoft Excel Misc 1 23rd Mar 2006 09:43 PM
formula from Excel97 doesn't work in Excel2003,any ideas why? =?Utf-8?B?bmlj?= Microsoft Excel Worksheet Functions 6 8th Nov 2004 04:40 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:53 PM.