#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,069
Default Increment by 18

I import data form Word to Excel on a weekly basis to a sheet called John T.
I have also created another sheet called John in the same Work Book.
I have created a formula in John to check if 5 values in John T are greater
than zero(0), if they are greater than zero datafill John with GREATER THAN 0
if not leave it blank.
=IF('John T'!B100,"GREATER THAN 0",IF('John T'!B110,"GREATER THAN
0",IF('John T'!B120,"GREATER THAN 0",IF('John T'!B130,"GREATER THAN
0",IF('John T'!B140,"GREATER THAN 0","")))))
It works ok but I need to know if there is a quick way to increment this
formula by creating an Auto Fill or Series in John so I can get it to jump
ahead 18 spots on John T and have it increment all the 'John Ts' by 18 and
continue on for each 18 increment.
In other words =IF('John T'!B280,"GREATER THAN 0",IF('John
T'!B290,"GREATER THAN 0",IF('John T'!B300,"GREATER THAN 0",IF('John
T'!B310,"GREATER THAN 0",IF('John T'!B320,"GREATER THAN 0","")))))

Thanks
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,520
Default Increment by 18

Hi John

Your formula can be shortened using OR() as below
=IF(OR('John T'!B100,'John T'!B110,'John T'!B120,'John T'!B130,'John
T'!B140),"GREATER THAN 0","")

it can be shortened further if you use COUNTIF() as below
=IF(COUNTIF('John T'!B10:B14,"0"),"Greater than 0","")


'Now the trick to increment 18. Try the below formula and copy down as
required
=IF(COUNTIF(INDIRECT("'jOHN
t'!B"&18*(ROW(1:1)-1)+10&":B"&18*(ROW(1:1)-1)+14),"0"),"Greater than 0","")

Try and feedback

If this post helps click Yes
---------------
Jacob Skaria


"John" wrote:

I import data form Word to Excel on a weekly basis to a sheet called John T.
I have also created another sheet called John in the same Work Book.
I have created a formula in John to check if 5 values in John T are greater
than zero(0), if they are greater than zero datafill John with GREATER THAN 0
if not leave it blank.
=IF('John T'!B100,"GREATER THAN 0",IF('John T'!B110,"GREATER THAN
0",IF('John T'!B120,"GREATER THAN 0",IF('John T'!B130,"GREATER THAN
0",IF('John T'!B140,"GREATER THAN 0","")))))
It works ok but I need to know if there is a quick way to increment this
formula by creating an Auto Fill or Series in John so I can get it to jump
ahead 18 spots on John T and have it increment all the 'John Ts' by 18 and
continue on for each 18 increment.
In other words =IF('John T'!B280,"GREATER THAN 0",IF('John
T'!B290,"GREATER THAN 0",IF('John T'!B300,"GREATER THAN 0",IF('John
T'!B310,"GREATER THAN 0",IF('John T'!B320,"GREATER THAN 0","")))))

Thanks

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
Vlookup increment No Yossy Excel Worksheet Functions 4 November 22nd 08 11:04 AM
Button that will increment by 1 Mr-Re Man Excel Discussion (Misc queries) 2 September 25th 08 10:15 AM
Increment Maria Excel Worksheet Functions 4 November 9th 07 12:10 AM
increment a value by 1 Workshops New Users to Excel 3 March 4th 06 11:06 PM
need to increment value Tom Excel Discussion (Misc queries) 5 June 24th 05 12:54 PM


All times are GMT +1. The time now is 01:23 AM.

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"