Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 40
Default Adding to a formula thru out a worksheet

Hi, I currently have the following formula in every 5th row for a total of
4500 rows.

=IF(ISERR((P59/'Data Entry'!J10)*'Data Entry'!K10)=TRUE,0,(P59/'Data
Entry'!J10)*'Data Entry'!K10)

I want to add the following to the begining of all these formula's:
=IF(H59=0, and the condition " ,1)" at the end

so my new formula would be:

=IF(H59=0,IF(ISERR((P59/'Data Entry'!J10)*'Data
Entry'!K10)=TRUE,0,(P59/'Data Entry'!J10)*'Data Entry'!K10),1)

Is there a systematic way of doing this rather than manually?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default Adding to a formula thru out a worksheet

Are the cells between the formulas empty? And does the formula in the
5th cell follow on as if copy/pasted from the 1st cell?

If the answer to both questions is yes, then you could apply
autofilter to the column and select Non-blanks. Then in the uppermost
visible cell you could make the amendment once, and then <copy that
cell and paste over just the visible cells (the ones with the current
formula in). Then choose All from the filter pull-down.

Hope this helps.

Pete


On Jul 30, 6:13*pm, Eden397 wrote:
Hi, I currently have the following formula in every 5th row for a total of
4500 rows.

=IF(ISERR((P59/'Data Entry'!J10)*'Data Entry'!K10)=TRUE,0,(P59/'Data
Entry'!J10)*'Data Entry'!K10)

I want to add the following to the begining of all these formula's: *
=IF(H59=0, and the condition " ,1)" *at the end

so my new formula would be:

=IF(H59=0,IF(ISERR((P59/'Data Entry'!J10)*'Data
Entry'!K10)=TRUE,0,(P59/'Data Entry'!J10)*'Data Entry'!K10),1)

Is there a systematic way of doing this rather than manually?


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 40
Default Adding to a formula thru out a worksheet

No and No. J10 and K10 will move to J11 and K11 and the P59 will go to P60
but, it is pulling data from another worksheet where the rows are consecutive
but it is on a worksheet where I need that consecutive data spaced every 5
rows.

=IF(ISERR((P59/'Data Entry'!J10)*'Data Entry'!K10)=TRUE,0,(P59/'Data
Entry'!J10)*'Data Entry'!K10)

"Pete_UK" wrote:

Are the cells between the formulas empty? And does the formula in the
5th cell follow on as if copy/pasted from the 1st cell?

If the answer to both questions is yes, then you could apply
autofilter to the column and select Non-blanks. Then in the uppermost
visible cell you could make the amendment once, and then <copy that
cell and paste over just the visible cells (the ones with the current
formula in). Then choose All from the filter pull-down.

Hope this helps.

Pete


On Jul 30, 6:13 pm, Eden397 wrote:
Hi, I currently have the following formula in every 5th row for a total of
4500 rows.

=IF(ISERR((P59/'Data Entry'!J10)*'Data Entry'!K10)=TRUE,0,(P59/'Data
Entry'!J10)*'Data Entry'!K10)

I want to add the following to the begining of all these formula's:
=IF(H59=0, and the condition " ,1)" at the end

so my new formula would be:

=IF(H59=0,IF(ISERR((P59/'Data Entry'!J10)*'Data
Entry'!K10)=TRUE,0,(P59/'Data Entry'!J10)*'Data Entry'!K10),1)

Is there a systematic way of doing this rather than manually?



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
adding several worksheet cells onto a main worksheet oxicottin Excel Worksheet Functions 2 September 20th 06 08:07 PM
Adding worksheet tab names to the first worksheet adam Excel Discussion (Misc queries) 1 May 17th 06 02:07 AM
list worksheet macros/VBA without adding worksheet br549 Excel Discussion (Misc queries) 0 January 6th 06 10:17 PM
Adding Worksheet To Formula roy.okinawa Excel Worksheet Functions 3 November 27th 05 11:41 PM
Formula for adding several worksheet totals karatefem Excel Discussion (Misc queries) 9 August 19th 05 03:47 AM


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