Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 43
Default Finding a number based on a criteria

y brain is still on vacation....

If somebody could be kind to help out with this little issue I have with a
formula.

What formula do I use If I want to have a retun value that is the year in
which the last row number (7) is greater that 130 000kr ?

I want to have the result in an other sheet than this table is done. I've
tried IF and Hlookup formulas but in vain.

A B C D
1 Year 1 Year 2 Year 3
Year 4
2
3 7 106 890 kr 7 249 027 kr 7 394 008 kr 7 541 888 kr
4 6 316 330 kr 6 442 656 kr 6 571 509 kr 6 702 940 kr
5 350 000 kr 344 732 kr 339 201 kr 333 393 kr
6 350 000 kr 350 000 kr 350 000 kr 350 000 kr
7 90 560 kr 111 639 kr 133 298 kr 155 556 kr

Greatful for any kind of help!

Thanks

/Henrik


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10,593
Default Finding a number based on a criteria

I assume the amounts are numbers formatted in that way.

=INDEX(A1:D1,MIN(IF(A7:D7130000,COLUMN(A7:D7))))

which is an array formula, it should be committed with Ctrl-Shift-Enter, not
just Enter.
Excel will automatically enclose the formula in braces (curly brackets), do
not try to do this manually.
When editing the formula, it must again be array-entered.

--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)

"Henrik" wrote in message
...
y brain is still on vacation....

If somebody could be kind to help out with this little issue I have with a
formula.

What formula do I use If I want to have a retun value that is the year in
which the last row number (7) is greater that 130 000kr ?

I want to have the result in an other sheet than this table is done. I've
tried IF and Hlookup formulas but in vain.

A B C D
1 Year 1 Year 2 Year 3
Year 4
2
3 7 106 890 kr 7 249 027 kr 7 394 008 kr 7 541 888 kr
4 6 316 330 kr 6 442 656 kr 6 571 509 kr 6 702 940 kr
5 350 000 kr 344 732 kr 339 201 kr 333 393 kr
6 350 000 kr 350 000 kr 350 000 kr 350 000 kr
7 90 560 kr 111 639 kr 133 298 kr 155 556 kr

Greatful for any kind of help!

Thanks

/Henrik




  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 43
Default Finding a number based on a criteria

To Bob Phillips;

Many Thanks!!

/Henrik

"Bob Phillips" wrote:

I assume the amounts are numbers formatted in that way.

=INDEX(A1:D1,MIN(IF(A7:D7130000,COLUMN(A7:D7))))

which is an array formula, it should be committed with Ctrl-Shift-Enter, not
just Enter.
Excel will automatically enclose the formula in braces (curly brackets), do
not try to do this manually.
When editing the formula, it must again be array-entered.

--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)

"Henrik" wrote in message
...
y brain is still on vacation....

If somebody could be kind to help out with this little issue I have with a
formula.

What formula do I use If I want to have a retun value that is the year in
which the last row number (7) is greater that 130 000kr ?

I want to have the result in an other sheet than this table is done. I've
tried IF and Hlookup formulas but in vain.

A B C D
1 Year 1 Year 2 Year 3
Year 4
2
3 7 106 890 kr 7 249 027 kr 7 394 008 kr 7 541 888 kr
4 6 316 330 kr 6 442 656 kr 6 571 509 kr 6 702 940 kr
5 350 000 kr 344 732 kr 339 201 kr 333 393 kr
6 350 000 kr 350 000 kr 350 000 kr 350 000 kr
7 90 560 kr 111 639 kr 133 298 kr 155 556 kr

Greatful for any kind of help!

Thanks

/Henrik





Reply
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
Finding the last entry in a column based on criteria DKS Excel Worksheet Functions 9 January 18th 08 07:16 PM
Return number OR sum based on two criteria John in MN Excel Worksheet Functions 2 July 26th 06 02:23 PM
Finding cell contents based on certain criteria thekovinc Excel Discussion (Misc queries) 1 March 15th 06 07:37 PM
Finding cell contents based on certain criteria thekovinc Excel Discussion (Misc queries) 1 March 15th 06 07:20 PM
Finding the Largest Number, based on two criteria BigH Excel Discussion (Misc queries) 1 February 8th 06 08:50 PM


All times are GMT +1. The time now is 06:53 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"