Solved

I need to update the following formula

Posted on 2014-01-23
4
202 Views
Last Modified: 2014-01-23
I need to update the following formula to return the value it finds in 3/14/01 date format. Right now, its returning the hard number, 41492...

Notice that I am trying to add some text in the same cell.

=IF(Y10="","",WORKDAY(I10,-10-ROUND(Y10/IF(Y10<=1500,175,300),0)))&" (A)"
0
Comment
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
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 33

Expert Comment

by:Rob Henson
ID: 39803503
Try this:

=IF(Y10="","",TEXT(WORKDAY(I10,-10-ROUND(Y10/IF(Y10<=1500,175,300),0))),"mm/dd/yy")&" (A)"

Change the section "mm/dd/yy" to format as required.

Thanks
Rob H
0
 
LVL 1

Author Comment

by:wrt1mea
ID: 39803532
Its saying there are too few arguments for this function...and is placin the cursor between the 2nd and 3rd cursor after ,300),0)))
0
 
LVL 33

Accepted Solution

by:
Rob Henson earned 500 total points
ID: 39803535
I was just checking the brackets on my version that I just copied from the question as I may have got them wrong and I have also spotted something else.

Where Y10 is blank you will end up with the " (A)" section. Do you actually want this or should blank in Y10 result in blank result?

If so, with corrected brackets:

=IF(Y10="","",TEXT(WORKDAY(I10,-10-ROUND(Y10/IF(Y10<=1500,175,300),0)),"mm/dd/yy")&" (A)")

Thanks
Rob
0
 
LVL 1

Author Closing Comment

by:wrt1mea
ID: 39804277
PERFECT! Thank you!
0

Featured Post

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

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

A little background as to how I came to I design this code: Around 5 years ago I designed an add-in that formatted Excel files to a corporate standard, applying different cell colours and font type depending on whether the cells contained inputs,…
This code takes an Excel list of URL’s and adds a header titled “URL List”. It then searches through all URL’s in column “A”, looking for duplicates. When a duplicate is found, it is moved to the top of the list. The duplicate URL’s are then highlig…
The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …
This Micro Tutorial will demonstrate the scrolling table in Microsoft Excel using the INDEX function.

690 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