?
Solved

My formula in excel will not work

Posted on 2014-02-06
2
Medium Priority
?
369 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
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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

This article describes how you can use Custom Document Properties to store settings and other information in your workbook so that they will be available the next time you open the workbook.
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 in Google Sheets how to use the HYPERLINK function to create live links inside your spreadsheet.
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.

589 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