?
Solved

Using an array formula in Excel 2007

Posted on 2011-03-25
4
Medium Priority
?
238 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
[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
4 Comments
 
LVL 50

Accepted Solution

by:
Ingeborg Hawighorst (Microsoft MVP / EE MVE) earned 500 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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

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,…
After seeing numerous questions for Dynamic Data Validation I notice that most have used Visual Basic to solve the problem. This suggestion is purely formula based and can be used in multiple rows.
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…
This Micro Tutorial will demonstrate the scrolling table in Microsoft Excel using the INDEX function.

770 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