New Contributor

# Formula finding data in one cell but not another

Hi everyone,

I am having difficulty trying something new in my formula.

How the spreadsheet works up to the point of this formula :

A list of plants is entered into a data tab, there are then individual tabs with the different category's of plants.

On each tab for each category I have written the name of the category so I can index this from the data tab.

I was using column D from the data tab to match AA1 on this separate tab and this was then picking up the information from cell : Data AA2 - AA10000.

I am now trying to change this so where I said earlier I have written the name of the category to index with, I have now changed this to another word that is not originally entered when the data in the data tab is pasted in. To do this I have used a formula to look in cell D (where data originally came from) and change this name slightly. I have also changed and matched this name on the separate tab for the index lookup. This new data is now in column Q.

Current (working) -=IFERROR(INDEX(Data!\$AA\$2:\$AA\$10000,SMALL(IF(Data!\$D\$2:\$D\$10000=AA\$1,ROW(Data!\$D\$2:\$D\$10000)-MIN(ROW(Data!\$D\$2:\$D\$10000))+1),ROW()-2)),"")

What I am trying (not working) -=IFERROR(INDEX(Data!\$AA\$2:\$AA\$10000,SMALL(IF(Data!\$Q\$2:\$Q\$10000=AA\$1,ROW(Data!\$Q\$2:\$Q\$10000)-MIN(ROW(Data!\$Q\$2:\$Q\$10000))+1),ROW()-2)),"")

This is now not returning the information from Data tab AA2:AA10000.

Help would be greatly appreciated.

Thanks

7 Replies

# Re: Formula finding data in one cell but not another

@Alessiothegreat Before diving into the formula, may I ask why you are creating separate sheet for each category of plant in the first place. You know you can filter the main data table on demand, without having to create separate sheets.

# Re: Formula finding data in one cell but not another

This is to create an availability list of stock we currently have which regularly gets emailed to clients for them to choose what they want and see what we have in stock. It is much easier for these to be categorised into different tabs.

Thanks

# Re: Formula finding data in one cell but not another

@Alessiothegreat Why then not just filter and copy paste into a new sheets and then delete the master table befor emailing?

Otherwise, if you are a MS365 subscriber, the FILTER function could do this also.

# Re: Formula finding data in one cell but not another

As i have created this for my boss and he is not very good on computers so have created this spreadsheet so all he has to do is copy and paste. Also it is alot quicker for the formulas to automatically sort all the data exactly how i want it.

# Re: Formula finding data in one cell but not another

@Alessiothegreat Okay! Difficult to diagnose a formula that doesn't seem to work without having the file/data to test on.

# Re: Formula finding data in one cell but not another

Thankyou for your help i really appreciate it.

I am trying to for instance on the "Shrub Std" tab to have columns AB-AF etc work the same as the "conifer" tab does but using the match of Data!Q or Data!P instead of cloumn D.

# Re: Formula finding data in one cell but not another

@Alessiothegreat Am having great difficulty working with your workbook. It has over 465 thousand formulae and, therefore, it's near impossible to work with it (for me at least). My feeling is that you are overly complicating things and am surprised that your boss (who is not very good with computers) is able to work with this workbook. I'm not. Sorry.