Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I am stuck...cant figure out whats wrong with this formula....any help???
=if(isblank(Data Sheet!E3,"1",'Data Sheet'!E3)) Also if i want to use the above formula and copy to say 120 sheets but on each sheet "E3" changes to the E4 E5 E6 etc....is there a way to do that other than by hand? Thanks |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Try this
=IF(ISBLANK('Data Sheet'!E3),"1",'Data Sheet'!E3) If this post helps click Yes --------------- Jacob Skaria "John" wrote: I am stuck...cant figure out whats wrong with this formula....any help??? =if(isblank(Data Sheet!E3,"1",'Data Sheet'!E3)) Also if i want to use the above formula and copy to say 120 sheets but on each sheet "E3" changes to the E4 E5 E6 etc....is there a way to do that other than by hand? Thanks |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
John
I don't think you want the "1" which will be text. Better to use just =IF(ISBLANK('Data Sheet'!E3),1,'Data Sheet'!E3) To increment this across 120 sheets run this macro. Assumes Data Sheet is first sheet and you want the incremented formula in A1 of each sheet. Sub Formula_Increment() 'increment a formula into A1 across sheets Dim iCtr As Long For iCtr = 2 To Worksheets.Count With Worksheets(iCtr).Range("A1") .Formula = "=IF(ISBLANK('Data Sheet'!E" _ & iCtr + 1 & "),1,'Data Sheet'!E" & iCtr + 1 & ")" End With Next iCtr End Sub Gord Dibben MS Excel MVP On Thu, 25 Jun 2009 10:22:02 -0700, John wrote: I am stuck...cant figure out whats wrong with this formula....any help??? =if(isblank(Data Sheet!E3,"1",'Data Sheet'!E3)) Also if i want to use the above formula and copy to say 120 sheets but on each sheet "E3" changes to the E4 E5 E6 etc....is there a way to do that other than by hand? Thanks |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Lookup Issue | Excel Discussion (Misc queries) | |||
Complex lookup issue | Excel Discussion (Misc queries) | |||
Lookup Issue due to formatting | Excel Worksheet Functions | |||
Lookup Issue | Excel Worksheet Functions | |||
LOOKUP Command Issue | Excel Worksheet Functions |