Solved

I need to update the following formula

Posted on 2014-01-23
4
183 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
  • 2
  • 2
4 Comments
 
LVL 32

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 32

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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Excel In-Cell Dropdown is very wide 5 40
Formatting 3 21
Countifs formula not counting data points 5 20
Excel Question 17 15
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,…
Some code to ensure data integrity when using macros within Excel. Also included code that helps secure your data within an Excel workbook.
This Micro Tutorial demonstrate the bugs in Microsoft Excel for Mac with Pivot Charts.
This Micro Tutorial will demonstrate how to create pivot charts out of a data set. I also added a drop-down menu which allows to choose from different categories in the data set and the chart will automatically update.

805 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