Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() The formula below receives an error in my macro. Can someone pleas help me edit it to work? Code ------------------- Range("A6").Select ActiveCell.FormulaR1C1 = _ "=IF(ISBLANK(RC[4])=TRUE,"""",(IF(OR(RC[1]=Summary!R7C1,RC[1]=Summary!R8C1,RC[1]=Summary!R9C1,RC[1]=Summary!R11C1,RC[1],RC[1]=Summary!R12C1=Summary!R7C1,RC[1]=Summary!R13C1,RC[1]=Summary!R15C1,RC[1]=Summary!R7C1,RC[1]=Summary!R16C1)=TRUE,'Raw Data'!R[-1]C[10],"""")" Range("A6").Select ------------------- -- ineedhelp ----------------------------------------------------------------------- ineedhelp2's Profile: http://www.excelforum.com/member.php...fo&userid=2629 View this thread: http://www.excelforum.com/showthread.php?threadid=46884 |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
You have your formula jumbled up right he
,RC[1],RC[1]=Summary!R12C1=Summary!R7C1,RC[1]=Summary!R13C1 -- Regards, Tom Ogilvy "ineedhelp2" wrote in message ... The formula below receives an error in my macro. Can someone please help me edit it to work? Code: -------------------- Range("A6").Select ActiveCell.FormulaR1C1 = _ "=IF(ISBLANK(RC[4])=TRUE,"""",(IF(OR(RC[1]=Summary!R7C1,RC[1]=Summary!R8C1,R C[1]=Summary!R9C1,RC[1]=Summary!R11C1,RC[1],RC[1]=Summary!R12C1=Summary!R7C1 ,RC[1]=Summary!R13C1,RC[1]=Summary!R15C1,RC[1]=Summary!R7C1,RC[1]=Summary!R1 6C1)=TRUE,'Raw Data'!R[-1]C[10],"""")" Range("A6").Select -------------------- -- ineedhelp2 ------------------------------------------------------------------------ ineedhelp2's Profile: http://www.excelforum.com/member.php...o&userid=26298 View this thread: http://www.excelforum.com/showthread...hreadid=468841 |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
You also need to add two parens on the end (a total of 3 parens)
'Raw Data'!R[-1]C[10],"""")" should be 'Raw Data'!R[-1]C[10],"""")))" That would make it complete, but you don't then have an defined response if the first IF is false. -- Regards, Tom Ogilvy "ineedhelp2" wrote in message ... The formula below receives an error in my macro. Can someone please help me edit it to work? Code: -------------------- Range("A6").Select ActiveCell.FormulaR1C1 = _ "=IF(ISBLANK(RC[4])=TRUE,"""",(IF(OR(RC[1]=Summary!R7C1,RC[1]=Summary!R8C1,R C[1]=Summary!R9C1,RC[1]=Summary!R11C1,RC[1],RC[1]=Summary!R12C1=Summary!R7C1 ,RC[1]=Summary!R13C1,RC[1]=Summary!R15C1,RC[1]=Summary!R7C1,RC[1]=Summary!R1 6C1)=TRUE,'Raw Data'!R[-1]C[10],"""")" Range("A6").Select -------------------- -- ineedhelp2 ------------------------------------------------------------------------ ineedhelp2's Profile: http://www.excelforum.com/member.php...o&userid=26298 View this thread: http://www.excelforum.com/showthread...hreadid=468841 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
IF formula returns error; abbreviating the formula | Excel Discussion (Misc queries) | |||
Formula error | New Users to Excel | |||
Error in Formula ?? | Excel Worksheet Functions | |||
How do I replace "#N/A" error, to continue my formula w/o error? | Excel Worksheet Functions | |||
Formula error with Mac resulting in '#NAME' error | Excel Programming |