Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Sky Sky is offline
external usenet poster
 
Posts: 10
Default Is there a way to use Formula to resolve

Is there a way or formula in the excel that could help to add the nearest
month to get the figure for Column F.
The month added up can be greater than or equal to Column F.
Column A to E is the month.
Column F is the Qty.
Column G is the column that I wish to get the month.

Jan-09 Feb-09 Mar-09 Apr-09 May-09 Qty Ans
100 100 100 100 100 300 Mar,Apr and May-3 mth to
get 300
100 100 100 100 100 250 Mar,Apr and May-3 mth to
have 250
100 100 100 100 100 500 Jan to May-5 month to get
500
100 100 100 100 100 100 May-1 month to get 100
100 100 100 100 100 50 May-1 month to get 50


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,104
Default Is there a way to use Formula to resolve

With only the month names (Jan, Feb..) in row 1 (ie not year)
In G2 I used
=$E$1&IF(E2<F2,", "&$D$1,"")&IF(E2+D2<F2,", "&$C$1,"")&IF(E2+D2+C2<F2,",
"&$B$1,"")&IF(E2+D2+C2+B2<F2,", "&$A$1,"")

Another method would be to use Solver
best wishes
--
Bernard V Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme
remove caps from email

"Sky" wrote in message
...
Is there a way or formula in the excel that could help to add the nearest
month to get the figure for Column F.
The month added up can be greater than or equal to Column F.
Column A to E is the month.
Column F is the Qty.
Column G is the column that I wish to get the month.

Jan-09 Feb-09 Mar-09 Apr-09 May-09 Qty Ans
100 100 100 100 100 300 Mar,Apr and May-3 mth
to
get 300
100 100 100 100 100 250 Mar,Apr and May-3 mth
to
have 250
100 100 100 100 100 500 Jan to May-5 month to
get
500
100 100 100 100 100 100 May-1 month to get 100
100 100 100 100 100 50 May-1 month to get 50




  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 42
Default Is there a way to use Formula to resolve

Thanks Bernard.

Yes,I got the ans.
Could the ans also input in the year.

May I also know how to use Solver?

Thanks a lot


"Bernard Liengme" wrote:

With only the month names (Jan, Feb..) in row 1 (ie not year)
In G2 I used
=$E$1&IF(E2<F2,", "&$D$1,"")&IF(E2+D2<F2,", "&$C$1,"")&IF(E2+D2+C2<F2,",
"&$B$1,"")&IF(E2+D2+C2+B2<F2,", "&$A$1,"")

Another method would be to use Solver
best wishes
--
Bernard V Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme
remove caps from email

"Sky" wrote in message
...
Is there a way or formula in the excel that could help to add the nearest
month to get the figure for Column F.
The month added up can be greater than or equal to Column F.
Column A to E is the month.
Column F is the Qty.
Column G is the column that I wish to get the month.

Jan-09 Feb-09 Mar-09 Apr-09 May-09 Qty Ans
100 100 100 100 100 300 Mar,Apr and May-3 mth
to
get 300
100 100 100 100 100 250 Mar,Apr and May-3 mth
to
have 250
100 100 100 100 100 500 Jan to May-5 month to
get
500
100 100 100 100 100 100 May-1 month to get 100
100 100 100 100 100 50 May-1 month to get 50





  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,104
Default Is there a way to use Formula to resolve

Send me an email (remove TRUENORTH.) and I will send a sample file
best wishes
--
Bernard V Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme
remove caps from email

"Sky" wrote in message
...
Thanks Bernard.

Yes,I got the ans.
Could the ans also input in the year.

May I also know how to use Solver?

Thanks a lot


"Bernard Liengme" wrote:

With only the month names (Jan, Feb..) in row 1 (ie not year)
In G2 I used
=$E$1&IF(E2<F2,", "&$D$1,"")&IF(E2+D2<F2,", "&$C$1,"")&IF(E2+D2+C2<F2,",
"&$B$1,"")&IF(E2+D2+C2+B2<F2,", "&$A$1,"")

Another method would be to use Solver
best wishes
--
Bernard V Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme
remove caps from email

"Sky" wrote in message
...
Is there a way or formula in the excel that could help to add the
nearest
month to get the figure for Column F.
The month added up can be greater than or equal to Column F.
Column A to E is the month.
Column F is the Qty.
Column G is the column that I wish to get the month.

Jan-09 Feb-09 Mar-09 Apr-09 May-09 Qty Ans
100 100 100 100 100 300 Mar,Apr and May-3
mth
to
get 300
100 100 100 100 100 250 Mar,Apr and May-3
mth
to
have 250
100 100 100 100 100 500 Jan to May-5 month
to
get
500
100 100 100 100 100 100 May-1 month to get
100
100 100 100 100 100 50 May-1 month to get
50







  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 42
Default Is there a way to use Formula to resolve

Thanks Bernard.

My email is .
If there is blank in my speadsheet is there a way to capture the month.

Thanks inadvance

Jan-09 Feb-09 Mar-09 Apr-09 May-09 Qty Ans
100 100 100 100 300 May Mar Feb
100 100 100 100 250 May Apr Feb
100 100 100 100 100 500 May Apr Mar Jan
100 100 100 100 100 Apr
100 100 100 50 Mar



"Bernard Liengme" wrote:

Send me an email (remove TRUENORTH.) and I will send a sample file
best wishes
--
Bernard V Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme
remove caps from email

"Sky" wrote in message
...
Thanks Bernard.

Yes,I got the ans.
Could the ans also input in the year.

May I also know how to use Solver?

Thanks a lot


"Bernard Liengme" wrote:

With only the month names (Jan, Feb..) in row 1 (ie not year)
In G2 I used
=$E$1&IF(E2<F2,", "&$D$1,"")&IF(E2+D2<F2,", "&$C$1,"")&IF(E2+D2+C2<F2,",
"&$B$1,"")&IF(E2+D2+C2+B2<F2,", "&$A$1,"")

Another method would be to use Solver
best wishes
--
Bernard V Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme
remove caps from email

"Sky" wrote in message
...
Is there a way or formula in the excel that could help to add the
nearest
month to get the figure for Column F.
The month added up can be greater than or equal to Column F.
Column A to E is the month.
Column F is the Qty.
Column G is the column that I wish to get the month.

Jan-09 Feb-09 Mar-09 Apr-09 May-09 Qty Ans
100 100 100 100 100 300 Mar,Apr and May-3
mth
to
get 300
100 100 100 100 100 250 Mar,Apr and May-3
mth
to
have 250
100 100 100 100 100 500 Jan to May-5 month
to
get
500
100 100 100 100 100 100 May-1 month to get
100
100 100 100 100 100 50 May-1 month to get
50










  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 42
Default Is there a way to use Formula to resolve

Hi Bernard,

Did you receive my mail?

Thanks a lot
Kang Yong

"Sky" wrote:

Thanks Bernard.

My email is .
If there is blank in my speadsheet is there a way to capture the month.

Thanks inadvance

Jan-09 Feb-09 Mar-09 Apr-09 May-09 Qty Ans
100 100 100 100 300 May Mar Feb
100 100 100 100 250 May Apr Feb
100 100 100 100 100 500 May Apr Mar Jan
100 100 100 100 100 Apr
100 100 100 50 Mar



"Bernard Liengme" wrote:

Send me an email (remove TRUENORTH.) and I will send a sample file
best wishes
--
Bernard V Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme
remove caps from email

"Sky" wrote in message
...
Thanks Bernard.

Yes,I got the ans.
Could the ans also input in the year.

May I also know how to use Solver?

Thanks a lot


"Bernard Liengme" wrote:

With only the month names (Jan, Feb..) in row 1 (ie not year)
In G2 I used
=$E$1&IF(E2<F2,", "&$D$1,"")&IF(E2+D2<F2,", "&$C$1,"")&IF(E2+D2+C2<F2,",
"&$B$1,"")&IF(E2+D2+C2+B2<F2,", "&$A$1,"")

Another method would be to use Solver
best wishes
--
Bernard V Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme
remove caps from email

"Sky" wrote in message
...
Is there a way or formula in the excel that could help to add the
nearest
month to get the figure for Column F.
The month added up can be greater than or equal to Column F.
Column A to E is the month.
Column F is the Qty.
Column G is the column that I wish to get the month.

Jan-09 Feb-09 Mar-09 Apr-09 May-09 Qty Ans
100 100 100 100 100 300 Mar,Apr and May-3
mth
to
get 300
100 100 100 100 100 250 Mar,Apr and May-3
mth
to
have 250
100 100 100 100 100 500 Jan to May-5 month
to
get
500
100 100 100 100 100 100 May-1 month to get
100
100 100 100 100 100 50 May-1 month to get
50








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
Excel won't resolve formula in one column AL Excel Discussion (Misc queries) 3 March 13th 09 02:05 PM
#REF! Error Resolve? Dan the Man[_2_] Excel Worksheet Functions 2 July 30th 07 03:28 AM
Did you ever resolve this? [email protected] Excel Discussion (Misc queries) 1 April 24th 07 02:34 PM
Please-please-HELP!!! Need to resolve this - Allocation Formula Chunkey Pandey New Users to Excel 1 November 25th 06 08:40 PM
How do I resolve too many different formats in a spreadsheet? Samp D Excel Discussion (Misc queries) 1 June 26th 05 03:27 PM


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