Solved

Using an array formula in Excel 2007

Posted on 2011-03-25
4
189 Views
Last Modified: 2012-05-11
I'm now using Excel 2007 and when I try to use the accepted solution above (sent to me when I was using Excel 2003), pressing Ctrl+Shift+Enter, nothing happens.  I've checked the formula I entered several times and there's no error (the new formula I tried in Excel 2007 references different cells and arrays).  Could there be a different way to 'activate' the array formula now?  The original answer to my question was:

You could use this formula in C5 copied down

=IF(A5="","",IF(A5=MIN(IF(B$5:B$100=B5,A$5:A$100)),A5,""))

This is an array formula which needs to be confirmed with CTRL+SHIFT+ENTER
0
Comment
Question by:pwflexner
  • 2
4 Comments
 
LVL 50

Accepted Solution

by:
teylyn earned 125 total points
ID: 35220767
Hello,

check the format of the cell. It might be set to Text. Set it to General, then hit F2 and hit Ctrl-Shift-Enter again.

Also check that you don't have a leading space in front of the = sign.

cheers, teylyn
0
 

Author Comment

by:pwflexner
ID: 35222854
Hi Teylyn,

Thanks for the suggestions.  The cell format is General.  I tried pressing F2 and then hitting Ctrl-Shift-Enter (both simultaneously and one after the other).  There's no space in front of the = sign but there is a { at the beginning and a } at the end of the formula.  I tried it with them in place and also removing them, but still no joy...

I'll keep experimenting.

Peter

0
 

Author Comment

by:pwflexner
ID: 35223077
Based on your suggestion to check that there was nothing in front of the = sign, I removed the {} at the beginning and end, and tried again.  Eventually it worked.  Thanks for your help.
0
 
LVL 50

Expert Comment

by:barry houdini
ID: 35223082
Pressing F2 just selects the formula. You should do that first and then you do CTRL+SHIFT+ENTER afterwards. To do that you hold down CTRL and SHIFT keys and at the same time press ENTER. The curly braces { and } should appear automatically after you do that - did they appear automatically (you can't add them yourself)? If so what result do you get, is it not working?

regards, barry
0

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

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,…
Dealing with unintended Excel Active-X resizing quirks (VBA code simulates "self correction") David Miller (dlmille) Intro Not everyone is a fan of Active-X controls in spreadsheets (as opposed to the UserForm approach, the older Form controls …
The viewer will learn how to use the =DISCRINV command to create a discrete random variable, use this command to model a set of probabilities and outcomes in a Monte Carlo simulation, and learn how to find the standard deviation of a set of probabil…
This Micro Tutorial will demonstrate how to use a scrolling table in Microsoft Excel using the INDEX function.

758 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now