Thanks:  0
Likes:  0

1. ## 00/Jan/1900

Hi,

I've a formula I'm using to look across a range and pick all the values that match (plenty of googling to achieve this). Unfortunately some cells are blank and therefor return 00/Jan/1900. My current iferror will not remove this 00/Jan/1900 - any ideas?

Formula:

=IFERROR(INDEX(\$B\$1:\$B\$20000,SMALL(IF(ISNUMBER(SEARCH(\$F\$1,\$A\$1:\$A\$20000)),MATCH(ROW(\$A\$1:\$A\$20000),ROW(\$A\$1:\$A\$20000))) ,ROW(A1))), "")

If the cell I'm pulling from still has another error I'd still like it to show blank.

Conditional formatting won't work as I've other formulas dependant on returning the cell blank rather than 00/Jan/1900

As always thanks

Stuart

2. ## Re: 00/Jan/1900

Can you provide a small sample of your data along with the desired output of the formula?

3. ## Re: 00/Jan/1900

Try this (Note: untested):

=IFERROR(1/(1/INDEX(\$B\$1:\$B\$20000,SMALL(IF(ISNUMBER(SEARCH(\$F\$1,\$A\$1:\$A\$20000)),MATCH(ROW(\$A\$1:\$A\$20000),ROW(\$A\$1:\$A\$20000))),ROW(A1)) )),"")

4. ## Re: 00/Jan/1900

Hi,

I didn't get the above to work, to be honest maybe my formula is not very good anyway!

I tried add an image, didn't work. My forum tools isn't working either - annoying.

5. ## Re: 00/Jan/1900

Conditional formatting won't work as I've other formulas dependant on returning the cell blank rather than 00/Jan/1900
What do these other formulas look like?
I am thinking it may be easier to use Conditional Formatting to hide the zero, and then just update the other formulas to deal with the zeroes.

6. ## Re: 00/Jan/1900

If you click the link you'll see the image.

Basically I'm returning matching values into cells like F3-F8 *matching F1 to range A2-A8, when it finds a match it returns the start date.

Example in F3 I have:
=IFERROR(INDEX(\$B\$1:\$B\$19998,SMALL(IF(ISNUMBER(SEARCH(\$F\$1,\$A\$1:\$A\$19998)),MATCH(ROW(\$A\$1:\$A\$19998),ROW(\$A\$1:\$A\$19998))) ,ROW(\$A1))), "")

Terrible formula?

When it finds a blank I don't want it return 00/Jan/1900 like it is in F5

7. ## Re: 00/Jan/1900

Can you just hide 0's using conditional formating? i.e. not make the text blank or something similar.

8. ## Re: 00/Jan/1900

If you click the link you'll see the image.
Unfortunately, no I won't. My work's security processes block those sites.

9. ## Re: 00/Jan/1900

Can you just hide 0's using conditional formating? i.e. not make the text blank or something similar.
That is what we were asking, but in your original post you said:
Conditional formatting won't work as I've other formulas dependant on returning the cell blank rather than 00/Jan/1900
What do these other formulas look like?
I am thinking it may be easier to use Conditional Formatting to hide the zero, and then just update the other formulas to deal with the zeroes.

10. ## Re: 00/Jan/1900

Ah,

I'm sorry. I've no idea why my excel add in isn't working to make this easier.

Basically the formula dependant on good dates (not 00/Jan/1900) is:
=IFERROR(SMALL(F3:F8,1),"")

You probably know but that formula grabs the smallest date from the range.

## User Tag List

#### Posting Permissions

• You may not post new threads
• You may not post replies
• You may not post attachments
• You may not edit your posts
•