Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
Solved

# I need to update the following Excel 2010 Formulas

Posted on 2014-07-28
Medium Priority
175 Views
IF D200=M, THEN:

=IFERROR(INDEX('[Report 7-29-14.xlsx]Projects'!\$D\$10:\$D\$150,MATCH(\$A10,'[Report 7-29-14.xlsx]Projects'!\$A\$10:\$A\$150,0))&"","")

IF NOT, THEN:
=IFERROR(IF(F10="","",LEFT(F10,FIND("(E)",F10)+2)) & IFERROR(CHAR(10) & IF(AN10="","",TEXT(AN10,"M/D/YY")&" (A)"),""),"")

IF F200=M, THEN:

=IFERROR(INDEX('[Report 7-29-14.xlsx]Projects'!\$F\$10:\$F\$150,MATCH(\$A10,'[Report 7-29-14.xlsx]Projects'!\$A\$10:\$A\$150,0))&"","")

IF NOT, THEN:
=IFERROR(IF(X10="","",TEXT(WORKDAY(LEFT(G10, LEN(G10)-4),-10-ROUND(X10/IF(X10<=1500,175,300),0)),"m/d/yy")&" (E)"),"")

IF G200=M, THEN:

=IFERROR(INDEX('[Report 7-29-14.xlsx]Projects'!\$G\$10:\$G\$150,MATCH(\$A10,'[Report 7-29-14.xlsx]Projects'!\$A\$10:\$A\$150,0))&"","")

IF NOT, THEN:
=IF(I10="","",TEXT(I10,"M/D/YY")&" (E)")
0
Question by:wrt1mea
[X]
###### Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

• Help others & share knowledge
• Earn cash & points
• 2
• 2

LVL 14

Expert Comment

ID: 40225305
0

LVL 1

Author Comment

ID: 40225320
I am needing help on updating existing formulas...getting the context right is my problem. If D200=M, then the formula runs through the first one. If not, it runs the second one....

IF D200=M, THEN:

=IFERROR(INDEX('[Report 7-29-14.xlsx]Projects'!\$D\$10:\$D\$150,MATCH(\$A10,'[Report 7-29-14.xlsx]Projects'!\$A\$10:\$A\$150,0))&"","")

IF NOT, THEN:
=IFERROR(IF(F10="","",LEFT(F10,FIND("(E)",F10)+2)) & IFERROR(CHAR(10) & IF(AN10="","",TEXT(AN10,"M/D/YY")&" (A)"),""),"")
0

LVL 14

Accepted Solution

sentner earned 2000 total points
ID: 40225363
The if/then is handled with an "=if()" function call.  The syntax is:

=IF(<statement>, <do something for true>, <do something for false>)

The statement portion would be the condition such as D200="M" (make sure you put text values in quotes).

So for your example, you should be able to do something like:
=IF(D200="M", IFERROR(INDEX('[Report 7-29-14.xlsx]Projects'!\$D\$10:\$D\$150,MATCH(\$A10,'[Report 7-29-14.xlsx]Projects'!\$A\$10:\$A\$150,0))&"",""), IFERROR(IF(F10="","",LEFT(F10,FIND("(E)",F10)+2)) & IFERROR(CHAR(10) & IF(AN10="","",TEXT(AN10,"M/D/YY")&" (A)"),""),""))
0

LVL 1

Author Closing Comment

ID: 40225506

Plus a couple of other minuscule things, commas and parenthesis. Thanks for the help!
0

## Featured Post

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Freeze panes is an option within all variants of Excel to enable parts of a sheet to remain stationary when the cursor is in another part of the sheet. This is a very useful feature which is overlooked or under used.
This article describes a serious pitfall that can happen when deleting shapes using VBA.
This Micro Tutorial will demonstrate in Microsoft Excel how to add style and sexy appeal to horizontal bar charts.
This Micro Tutorial will demonstrate how to use a scrolling table in Microsoft Excel using the INDEX function.
###### Suggested Courses
Course of the Month6 days, 16 hours left to enroll