Hi
I am tryi to capture a cell entry from a lookup range, there will only ever be one number in the range.
Please see attached for visual explantion.
Many Thanks
Braddy
![]() |
Patch reliability is unclear. Unless you have an immediate, pressing need to install a specific patch, don't do it. |
SIGN IN | Not a member? | REGISTER | PLUS MEMBERSHIP |
Home » Forums » AskWoody support » Productivity software by function » MS Excel and spreadsheet help » Capture No from a range (Excel 2002)
How about:
=INDEX(F11:F13,IF(ISNA(MATCH(9.99999999999999E+307,F11:F13)),MATCH(REPT(“z”,255),F11:F13),MATCH(9.99999999999999E+307,F11:F13)))
Note: the cells F11:F13 need to be blank if you want them ignored. F12 and F13 currently have text in them which will be found, unless that is also part of the puzzle that some text string should be “ignored”?
Steve
In the spreadsheet you attached to the first post in this thread, the other cells contained #N/A. The formula I proposed assumed that this was still the case. You have now changed the setup, so the assumption is not valid any more. If you restore the #N/A’s, the formula will work.
If you prefer to keep the blank cells, use
=INDEX(E11:E13,MAX((F11:F13″”)*ROW(1:3)))
again, as an array formula, i.e. confirm with Ctrl+Shift+Enter.
If the single result (or last value) you need is either a text value or a numeric value, here are two options:
[1] A multi-cell set up:
AA24:
=INDEX(AA7:A23,IF(COUNT(AA25:AA26)=2,MAX(AA25:AA26),SUMIF(AA25:AA26,”#N/A”)))
AA25:
=MATCH(9.99999999999999E+307,AA7:AA23)
AA26:
=MATCH(REPT(“z”,255),AA7:AA23)
[2] A single-formula approach:
AA24:
=LOOKUP(2,1/(ISNUMBER(AA7:AA23)+ISTEXT(AA7:AA23)),AA7:AA23)
Hi Aladin
Thanks for your input, Just to explain in column AA7:AA23 there will only ever be one entry which will be either numeric or alphanumeric and is then linked to a cell on another sheet,
It is a list of chemicals and only one perfume code is allowed.
having said that I am very interested in your formulas because I have a use for them elsewhere.
Many thanks for your input.
Braddy
Donations from Plus members keep this site going. You can identify the people who support AskWoody by the Plus badge on their avatars.
AskWoody Plus members not only get access to all of the contents of this site -- including Susan Bradley's frequently updated Patch Watch listing -- they also receive weekly AskWoody Plus Newsletters (formerly Windows Secrets Newsletter) and AskWoody Plus Alerts, emails when there are important breaking developments.
Welcome to our unique respite from the madness.
It's easy to post questions about Windows 11, Windows 10, Win8.1, Win7, Surface, Office, or browse through our Forums. Post anonymously or register for greater privileges. Keep it civil, please: Decorous Lounge rules strictly enforced. Questions? Contact Customer Support.
Want to Advertise in the free newsletter? How about a gift subscription in honor of a birthday? Send an email to sb@askwoody.com to ask how.
Mastodon profile for DefConPatch
Mastodon profile for AskWoody
Home • About • FAQ • Posts & Privacy • Forums • My Account
Register • Free Newsletter • Plus Membership • Gift Certificates • MS-DEFCON Alerts
Copyright ©2004-2025 by AskWoody Tech LLC. All Rights Reserved.