Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Array Formula doesn't see formula result;  Does it need a value to work?

Posted on 2013-01-10
10
Medium Priority
?
295 Views
Last Modified: 2013-01-10
I received help from on a questions last week and the solution was perfect.


{(=IFERROR(INDEX(tblSales[[#All],[Date]],SMALL(IF(tblSales[[#All],[Employee]]=AH$3,ROW(tblSales[[#All],[Employee]])-ROW(A$2)+1),ROWS(AE$13:AE13))),"")}

http://www.experts-exchange.com/Software/Office_Productivity/Office_Suites/MS_Office/Excel/Q_27983795.html

My original value in AH$3 changed because I needed to show the name & test # for my list instead of just the name. It showed Brent Van Scoy, but now shows Brent Van Scoy #1
To work around this problem with needing just the name for my array formula, I placed a formula in AH4

=LEFT(AH3;FIND("-";AH3;1)-1)

 But, it appears it doesn't see the results of my =left formula. It shows the name correctly in AH4 but , array formula doesn't work. I replaced the formula in AH4 with a text value and it works perfect.

Thanks
0
Comment
Question by:bvanscoy678
[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
  • 6
  • 3
10 Comments
 
LVL 24

Assisted Solution

by:Steve
Steve earned 400 total points
ID: 38764422
Surely the formula should be

=LEFT(AH3,FIND("-",AH3,1)-1)

Commas not Semicolons
0
 

Author Comment

by:bvanscoy678
ID: 38764466
yes, that is correct. The semi colons are the french version of excel. sorry for not switching it.

thanks
0
 

Author Comment

by:bvanscoy678
ID: 38764590
Thinking out loud, but I am wondering if I put an "on change event" to copy and paste special the results of my = left,  then point the array to that cell, it might solve my problem. I am in a meeting for 1 hour, but I'll read up on that once I am out.

thanks
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
LVL 24

Expert Comment

by:Steve
ID: 38764591
And I do not belive that you can perform a LEFT (or any Text function eg CONCATENATE etc) on an array formula result. Though I am always amazed at what some people can acheive, so may be proved wrong.
0
 
LVL 24

Expert Comment

by:Steve
ID: 38764599
If you are using VBA I would just write a function to do what you want.
Can you provide an example file and details of the desired outcome and I am sure we could do a User Defined Function if you would like a VBA solution.
0
 

Author Comment

by:bvanscoy678
ID: 38765001
Just got back. This worksheet has been stripped down pretty far, but it will show what I am trying to do.

The report page is what will be printed for each employee. Using the drop down menu to choose the employee's name, changes the value in Data!AH3. I use a name range to populate the drop down, which is the employee and their test #.

In Data!AE13 the array formula pointing towards Data!AH4 for the value to look up in the array.

I hope this makes a little sense being stripped down.

thanks
EE-Example.xlsm
0
 
LVL 50

Accepted Solution

by:
barry houdini earned 1600 total points
ID: 38765484
You probably need a TRIM function otherwise you have a "trailing space" i.e

=TRIM(LEFT(AH3,FIND("-";AH3;1)-1))

regards, barry
0
 

Author Comment

by:bvanscoy678
ID: 38765609
Thanks. Working on the "on change now".
0
 

Author Comment

by:bvanscoy678
ID: 38765618
I feel pretty stupid. I am trying to figure 6 ways around the problem and it turns out to be a simple thing that screwed up the formula. After I placed the Trim Function, it all works well. I'll have to double check it a few ways, but it appears solved!

Thanks
0
 

Author Closing Comment

by:bvanscoy678
ID: 38765633
Thanks for the help!
0

Featured Post

[Webinar] Lessons on Recovering from Petya

Skyport is working hard to help customers recover from recent attacks, like the Petya worm. This work has brought to light some important lessons. New malware attacks like this can take down your entire environment. Learn from others mistakes on how to prevent Petya like worms.

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.
If you need to forecast numbers -- typically for finance -- the Windows and Mac versions of Excel 2016 have a basket of tools to get the job done.
Graphs within dashboards are meant to be dynamic, representing data from a period of time that will change each time the dashboard is updated with new data. Rather than update each graph to point to a different set within a static set of data, t…
This Micro Tutorial will demonstrate how to create pivot charts out of a data set. I also added a drop-down menu which allows to choose from different categories in the data set and the chart will automatically update.

610 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