Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I need some assistance with this formula below to make it easier to read and
functional. Everytime I start working on it something, in my head, tells me it is not right. I started recording a macro and then added all the "Ands" the formula because the recorder did not like them. What would be a way to write this? Range("B5").Select ActiveCell.FormulaR1C1 = "=IF(Left(RC[4],2)= ""50"", RC[1],_ If(And(Left(RC[4],2)= ""30"", Mid(RC[4],7,1)= ""H""),""Harcourt K-6"",_ If(And(Left(RC[4],2)= ""30"", Mid(RC[4],7,1)< ""H""),""Houghton K-6"",_ If(And(Left(RC[4],2)= ""40"", Mid(RC[4],7,1)= ""H""),""HRW"",_ If(And(Left(RC[4],2)= ""40"", Mid(RC[4],7,1)< ""H""),""McDougal"", "" "")))))" |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
confused in the o.c. | New Users to Excel | |||
Confused | Excel Worksheet Functions | |||
Confused | Excel Worksheet Functions | |||
Confused | New Users to Excel | |||
I'm Confused........................................ | Excel Programming |