Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Need to adjust formula accordingly

Hi, I had the formula:

=SUM(N(OFFSET($A$9,0,SMALL(IF((L9:BH90)*(MOD(COLU MN(L9:BH9)-12,8)=0),COLUMN(L9:BH9),COLUMN(IV9)),{1,2,3,4,5})-1,1,1)))

I had to ad in extra columns for my nightshift

I tried to adjust the formula as follows:

=SUM(N(OFFSET($A$14,0,SMALL(IF((K14:BM140)*(MOD(C OLUMN(K14:BM14)-12,8)=0),COLUMN(K14:BM14),COLUMN(IV14)),{1,2,3,4,5 })-1,1,1)))

but the outcome is not the same,

what do I have to do to do any adjustments in future, should I wish t
ad more columns in between.

My cells a
K14, T14, AC14, AL14, AU14, BD14, BM14 (Every 9th cell)

help will be most appreciated

--
Message posted from http://www.ExcelForum.com

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 136
Default Need to adjust formula accordingly

Change the eight to a nine.

sonar < wrote:
Hi, I had the formula:

=SUM(N(OFFSET($A$9,0,SMALL(IF((L9:BH90)*(MOD(COLU MN(L9:BH9)-12,8)=0),COLUMN(L9:BH9),COLUMN(IV9)),{1,2,3,4,5})-1,1,1)))

I had to ad in extra columns for my nightshift

I tried to adjust the formula as follows:

=SUM(N(OFFSET($A$14,0,SMALL(IF((K14:BM140)*(MOD(C OLUMN(K14:BM14)-12,8)=0),COLUMN(K14:BM14),COLUMN(IV14)),{1,2,3,4,5 })-1,1,1)))

but the outcome is not the same,

what do I have to do to do any adjustments in future, should I wish to
ad more columns in between.

My cells a
K14, T14, AC14, AL14, AU14, BD14, BM14 (Every 9th cell)

help will be most appreciated.


---
Message posted from http://www.ExcelForum.com/

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Need to adjust formula accordingly

The formula, if I am not wrong, seems to see my BE14 (overtime) cell
and not my BD (normal time) cell, any reason?

What does the -12 and the 9 mean

--
Message posted from http://www.ExcelForum.com

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 136
Default Need to adjust formula accordingly

Well, I'm not really sure what you are trying to do with this formula,
but it seems that the 12 should be changed to 11 since you added a
column to the left (K=column 11) instead of starting at L=column12. The
9 looks at every ninth column.

sonar < wrote:

The formula, if I am not wrong, seems to see my BE14 (overtime) cell,
and not my BD (normal time) cell, any reason?

What does the -12 and the 9 mean?


---
Message posted from http://www.ExcelForum.com/

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
Formula adjust for inserted row above current row tulip Excel Worksheet Functions 8 September 19th 08 05:23 AM
adjust formula to much info Wanna Learn Excel Discussion (Misc queries) 1 August 27th 08 05:42 PM
Formula won't adjust after sorting data mmcap Excel Worksheet Functions 11 January 22nd 07 06:53 PM
creating formula to adjust per month Gibraltar13 Excel Discussion (Misc queries) 2 March 31st 06 06:10 PM
how do u copy a formula in over 100 cells and have it adjust kateyz Excel Worksheet Functions 1 June 21st 05 08:47 PM


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