LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 14
Default Cell Reference in formula increment

I was wondering how to calculate NETWORLDAYS based on
certain conditions. For my current situation I have 2
checks that see if either an N/A or a ""(blank) should be
displayed, if neither of those conditions is true then to
fill the second argument of the nested If function I have
the NETWORKDAYS function. Ex Formula : =IF('sheet1'!
E53="N/A","N/A",IF('sheet1'!E53="","",NETWORKDAYS('sheet1'!
D53,'sheet1'!E53,'sheet1'!D53))). What I want is a way
to check another column of data to see if I even want to
evaluate any of these cases. If I do not want to evaluate
any of these cases based on the other columns data I
either want there to be absolutely nothing in the cell
including the formula or What I would really like is for
the formula to increment its references to (sheet1'!E54)
(replacing the sheet1'!E53's) for example and check the
values if the previous case is thrown out. I would like
this to happen in the cell that is going to have the
formula. If this is not possible using excel formulas
could anyone point me in the right direction to a VBA
solution for excel. I'm assuming for the algorithm there
has to be an end case like and empty cell that would stop
the increment etc.....Thank you for your time.
 
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
Macro - How to increment cell reference by one row lau_ash[_2_] Excel Worksheet Functions 7 April 4th 23 02:17 PM
How to increment a cell reference in a row Mike Excel Discussion (Misc queries) 6 May 13th 09 10:04 PM
increment cell reference in a formula MarkW1307 Excel Worksheet Functions 3 January 9th 09 11:31 AM
Need formula to increment cell reference every 8th row Sandy Crowley Excel Discussion (Misc queries) 11 November 7th 08 02:33 PM
Increment cell reference Larry Kahm Excel Discussion (Misc queries) 1 April 8th 08 01:40 AM


All times are GMT +1. The time now is 07:15 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"