Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

My formula in excel will not work

Posted on 2014-02-06
2
Medium Priority
?
359 Views
Last Modified: 2014-02-06
Can someone look at the excel example that I downloaded, and tell me what I did wrong? The yellow high-lighted is what I am wanting to accomplish and the light-blue is what I am getting with the formulas I created and am stumped as to what I am doing wrong?
The first part  -- IF(ROWS($F$6:$F6)>COUNTIF(Amount,">0"), -- is working fine but the Index fuction  --  INDEX($A$6:$A$19,SMALL(IF(Amount>0,ROW(Amount)-ROW(D$6)+1),ROWS(F$6:F6))) -- is not working.

In this example, 7 names have amounts in the amount column, and if another name (for instance Susie) would have an amount that needs to dynamically show also.
learning.xlsx
0
Comment
Question by:beemmer
[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 Comments
 
LVL 23

Accepted Solution

by:
NBVC earned 2000 total points
ID: 39840310
The formula in F6 is an Array formula.  You need to confirm it with CTRL+SHIFT+ENTER not just ENTER so that you see { } brackets appear around the formula... then you can copy it down.

Also to get rid of the #N/A in the VLOOKUP columns, add an IFERROR()

e.g. in G6:

=IFERROR(VLOOKUP($F6,$A$6:$D$19,2,FALSE),"")

copied down
0
 

Author Closing Comment

by:beemmer
ID: 39840847
Thank you so much for your help.  Your solution worked beautifully.  I would not have figured that out on my own.
0

Featured Post

Moving data to the cloud? Find out if you’re ready

Before moving to the cloud, it is important to carefully define your db needs, plan for the migration & understand prod. environment. This wp explains how to define what you need from a cloud provider, plan for the migration & what putting a cloud solution into practice entails.

Question has a verified solution.

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

How to get Spreadsheet Compare 2016 working with the 64 bit version of Office 2016
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.
This Micro Tutorial will demonstrate how to use a scrolling table in Microsoft Excel using the INDEX function.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

721 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