LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 79
Default Combining formulas does not work

I have the following model:

............A........B
1.........1........blank
2.........2........a
3.........3........a
4.........4........1
5.........5........2
6.........6........blank
7.........7........b
8.........8........blank
9.........9........1

In C1 I have:
=IF(COUNTIF($B$1:B1;B1)=1;A1;10)
which I copy down to C9

In D1 I have:
=SMALL($C$1:$C$9;A1)
which I copy down to D9

In this D column I get:
2
4
5
7
10
10
10
10
10
which is what I want.

However, combining the two formulas into one does not work. I've tried
in E1:
=SMALL(IF(COUNTIF($B$1:B1;B1)=1;A1;10):A1) which I copy down to E9

I get:
10
#NUM!
#NUM!
#NUM!
#NUM!
#NUM!
#NUM!
#NUM!
#NUM!

Nothing to do with the desired result. I have no idea why it doesn't
work.

Any help?

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Combining 2 Formulas Joker Excel Discussion (Misc queries) 1 February 1st 07 03:30 PM
Combining two work sheets using a column in both as a key TwoTone Excel Worksheet Functions 1 November 1st 06 05:21 PM
the drag feature in combining cells won't work Annxqz Excel Worksheet Functions 7 August 5th 06 01:15 AM
Combining formulas ben simpson Excel Discussion (Misc queries) 3 March 17th 06 03:49 PM
Combining formulas jezzica85 Excel Discussion (Misc queries) 5 March 3rd 06 06:56 AM


All times are GMT +1. The time now is 03:10 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"