?
Solved

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

Posted on 2011-02-20
5
Medium Priority
?
790 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 93

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 500 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 500 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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

This article will guide you to convert a grid from a picture into Excel format using Microsoft OneNote and no other 3rd party application.
How to get Spreadsheet Compare 2016 working with the 64 bit version of Office 2016
This Micro Tutorial will demonstrate how to use a scrolling table in Microsoft Excel using the INDEX function.
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

764 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