Solved

I need to update the following Excel 2010 Formulas

Posted on 2014-07-28
4
160 Views
Last Modified: 2014-07-28
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
Comment
Question by:wrt1mea
  • 2
  • 2
4 Comments
 
LVL 14

Expert Comment

by:sentner
ID: 40225305
You say you need to update the formulas, but didn't ask a question about what help you need...
0
 
LVL 1

Author Comment

by:wrt1mea
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

by:
sentner earned 500 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)"),""),""))

Open in new window

0
 
LVL 1

Author Closing Comment

by:wrt1mea
ID: 40225506
Thank you very much....I kept adding additional IFERROR's upfront, instead of using IF.

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

Featured Post

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

What is a Form List Box? (skip if you know this) The forms List Box is the alternative to the ActiveX list box. If you are using excel 2007, you first make sure you have a developer tab (click the Orb)->"Excel Options"->Popular->"Show Developer tab…
This tutorial explains how to create a series of drop-down lists that are dependent upon prior selections to guide (“force”) the user to make the correct selection and reduce data errors within Microsoft Excel. Excel 2010 was used for this tutorial;…
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…
This Micro Tutorial will demonstrate the scrolling table in Microsoft Excel using the INDEX function.

708 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now