Solved

Excel formula to get value from the latest/highest day of a month returning errors

Posted on 2011-02-20
5
787 Views
Last Modified: 2012-05-11
In the sheet "monthly" of the attached file I have entered a formula (column b, yellow colourred) that should get the data from the sheet "wdme" at the intersection of the cell values of B1 and An.

An contains month-end-dates, but sheet "wdme" shows several working days of the respective month not necessarily including the last calendar day.

For any reason, my formulas returns either an #N/A error or 0.0%... probably a stupid first school year error again, but I have been unable to find out...

I would be grateful for an amended formula that avoids the error and just gathers the value from the latest/highest day / last that appears in row 1 of sheet wdme of the respective month.

Thanks.
0
Comment
Question by:BrdgBldr
[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
5 Comments
 
LVL 92

Expert Comment

by:Patrick Matthews
ID: 34938698
No attachment :)
0
 

Author Comment

by:BrdgBldr
ID: 34938861
Ok, Patrick, without attachment, 125 points is a bit meager... ;-)
ee14.xls
0
 
LVL 50

Accepted Solution

by:
barry houdini earned 125 total points
ID: 34938895
Hello BrdgBldr,

You have the MATCH functions the wrong way round....and the wrong one has as 3rd argument too, try this formula in B2 copied down

=INDEX(wdme!$1:$65536,MATCH($A2,wdme!$A:$A,1),MATCH(monthly!$B$1,wdme!$1:$1,0))

regards, barry
0
 
LVL 50

Assisted Solution

by:barry houdini
barry houdini earned 125 total points
ID: 34938900
sorry, garbled my text...I meant to say that you also have the 3rd arguments wrong - the date look needs 1, the text lookup needs 0 for an exact match

barry
0
 

Author Closing Comment

by:BrdgBldr
ID: 34939009
thanks a lot Barry!
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

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,…
When you see single cell contains number and text, and you have to get any date out of it seems like cracking our heads.
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 …
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

749 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