Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15
Default GET QTY in column J

Bill date qty Bill amt Pay.date Amt Bal. Days
A B C D E F I J
18-Jul 18 800 19-Jul 900 -100 1 18
20-Jul 18 900 19-Jul 200 600 -1 0
20-Jul 0 0 24-Jul 700 0 4 18
30-Jul 18 900 28-Jul 400 500 -2 0
30-Jul 0 0 4-Aug 600 -100 5 18
As given in the above tabel I wish to GET the qty fig whenever the Days are
below 7 days with various with condition that bal.is <=0. Please help
with excel worksheet function.
Thanks in advance
--
cprao
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 915
Default GET QTY in column J

cprao wrote:
Bill date qty Bill amt Pay.date Amt Bal. Days
A B C D E F I J
18-Jul 18 800 19-Jul 900 -100 1 18
20-Jul 18 900 19-Jul 200 600 -1 0
20-Jul 0 0 24-Jul 700 0 4 18
30-Jul 18 900 28-Jul 400 500 -2 0
30-Jul 0 0 4-Aug 600 -100 5 18
As given in the above tabel I wish to GET the qty fig whenever the Days are
below 7 days with various with condition that bal.is <=0. Please help
with excel worksheet function.
Thanks in advance


In J2, then fill down:

=if(and(I2<7,F2<=0),B2,"")
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15
Default GET QTY in column J

Thank for the reply. I am afraid it is not working. Because what I require is
(qty)B2(i.e.18) in J3 when (Bal due)F3<=0 and (days)I<7. Hope it is clear
now. yours formula gives me zero instead of 18
--
cprao


"smartin" wrote:

cprao wrote:
Bill date qty Bill amt Pay.date Amt Bal. Days
A B C D E F I J
18-Jul 18 800 19-Jul 900 -100 1 18
20-Jul 18 900 19-Jul 200 600 -1 0
20-Jul 0 0 24-Jul 700 0 4 18
30-Jul 18 900 28-Jul 400 500 -2 0
30-Jul 0 0 4-Aug 600 -100 5 18
As given in the above tabel I wish to GET the qty fig whenever the Days are
below 7 days with various with condition that bal.is <=0. Please help
with excel worksheet function.
Thanks in advance


In J2, then fill down:

=if(and(I2<7,F2<=0),B2,"")

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default GET QTY in column J

Try this:

=SUMPRODUCT((I2:I5<7)*(F2:F5<=0)*(J2:J5))

Hope this helps.

Pete

On Aug 17, 6:30*pm, cprao wrote:
Bill date qty *Bill amt *Pay.date *Amt * Bal. * Days *
* * A * * * *B * * *C * * * * * D * * * * *E * * * F * * *I * * * * *J * *
*18-Jul * 18 * 800 * * *19-Jul * * 900 *-100 * *1 * * * 18
*20-Jul * 18 * 900 * * *19-Jul * * 200 * 600 * *-1 * * * *0
*20-Jul * * 0 * * *0 * *24-Jul * * 700 * * *0 * 4 * * * 18
*30-Jul * 18 * 900 * * *28-Jul * * 400 * 500 * *-2 * * * *0
*30-Jul * * 0 * * *0 * *4-Aug * * 600 * -100 * *5 * * * 18
*As given in the above tabel I wish to GET the qty fig whenever the Days are
*below 7 days with various with condition that *bal.is <=0. *Please help
with excel worksheet function.
*Thanks in advance
--
cprao


  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15
Default GET QTY in column J

Dear Pete, it is not working, I am getting sum of qty as 54. Please try again
--
cprao


"Pete_UK" wrote:

Try this:

=SUMPRODUCT((I2:I5<7)*(F2:F5<=0)*(J2:J5))

Hope this helps.

Pete

On Aug 17, 6:30 pm, cprao wrote:
Bill date qty Bill amt Pay.date Amt Bal. Days
A B C D E F I J
18-Jul 18 800 19-Jul 900 -100 1 18
20-Jul 18 900 19-Jul 200 600 -1 0
20-Jul 0 0 24-Jul 700 0 4 18
30-Jul 18 900 28-Jul 400 500 -2 0
30-Jul 0 0 4-Aug 600 -100 5 18
As given in the above tabel I wish to GET the qty fig whenever the Days are
below 7 days with various with condition that bal.is <=0. Please help
with excel worksheet function.
Thanks in advance
--
cprao





  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default GET QTY in column J

Yes, I misunderstood what you wanted. Try this in J3:

=IF(AND(I3<7,F3<=0),B3,0)

Then copy down the column.

Hope this helps.

Pete

On Aug 18, 4:25*pm, cprao wrote:
Dear Pete, it is not working, I am getting sum of qty as 54. Please try again
--
cprao



"Pete_UK" wrote:
Try this:


=SUMPRODUCT((I2:I5<7)*(F2:F5<=0)*(J2:J5))


Hope this helps.


Pete


On Aug 17, 6:30 pm, cprao wrote:
Bill date qty *Bill amt *Pay.date *Amt * Bal. * Days *
* * A * * * *B * * *C * * * * * D * * * * *E * * * F * * *I * * * * *J * *
*18-Jul * 18 * 800 * * *19-Jul * * 900 *-100 * *1 * * * 18
*20-Jul * 18 * 900 * * *19-Jul * * 200 * 600 * *-1 * * * *0
*20-Jul * * 0 * * *0 * *24-Jul * * 700 * * *0 * 4 * * * 18
*30-Jul * 18 * 900 * * *28-Jul * * 400 * 500 * *-2 * * * *0
*30-Jul * * 0 * * *0 * *4-Aug * * 600 * -100 * *5 * * * 18
*As given in the above tabel I wish to GET the qty fig whenever the Days are
*below 7 days with various with condition that *bal.is <=0. *Please help
with excel worksheet function.
*Thanks in advance
--
cprao- Hide quoted text -


- Show quoted text -


  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15
Default GET QTY in column J

I am afraid it is not working. Because what I require is
(qty)B2(i.e.18) in J3 when (Bal due)F3<=0 and (days)I<7. Hope it is clear
now. yours formula gives me zero instead of 18
--
cprao


"Pete_UK" wrote:

Yes, I misunderstood what you wanted. Try this in J3:

=IF(AND(I3<7,F3<=0),B3,0)

Then copy down the column.

Hope this helps.

Pete

On Aug 18, 4:25 pm, cprao wrote:
Dear Pete, it is not working, I am getting sum of qty as 54. Please try again
--
cprao



"Pete_UK" wrote:
Try this:


=SUMPRODUCT((I2:I5<7)*(F2:F5<=0)*(J2:J5))


Hope this helps.


Pete


On Aug 17, 6:30 pm, cprao wrote:
Bill date qty Bill amt Pay.date Amt Bal. Days
A B C D E F I J
18-Jul 18 800 19-Jul 900 -100 1 18
20-Jul 18 900 19-Jul 200 600 -1 0
20-Jul 0 0 24-Jul 700 0 4 18
30-Jul 18 900 28-Jul 400 500 -2 0
30-Jul 0 0 4-Aug 600 -100 5 18
As given in the above tabel I wish to GET the qty fig whenever the Days are
below 7 days with various with condition that bal.is <=0. Please help
with excel worksheet function.
Thanks in advance
--
cprao- Hide quoted text -


- Show quoted text -



  #8   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,480
Default GET QTY in column J

Hi

You have had 2 answers which should have worked, except you say in your note
that your want the value in B2, when you are testing against the values in
I3 and F3.
If this is correct, then just amend the formula to
=IF(AND(I3<7,F3<=0),B2,0)


--
Regards
Roger Govier

"cprao" wrote in message
...
I am afraid it is not working. Because what I require is
(qty)B2(i.e.18) in J3 when (Bal due)F3<=0 and (days)I<7. Hope it is clear
now. yours formula gives me zero instead of 18
--
cprao


"Pete_UK" wrote:

Yes, I misunderstood what you wanted. Try this in J3:

=IF(AND(I3<7,F3<=0),B3,0)

Then copy down the column.

Hope this helps.

Pete

On Aug 18, 4:25 pm, cprao wrote:
Dear Pete, it is not working, I am getting sum of qty as 54. Please try
again
--
cprao



"Pete_UK" wrote:
Try this:

=SUMPRODUCT((I2:I5<7)*(F2:F5<=0)*(J2:J5))

Hope this helps.

Pete

On Aug 17, 6:30 pm, cprao wrote:
Bill date qty Bill amt Pay.date Amt Bal. Days
A B C D E F I
J
18-Jul 18 800 19-Jul 900 -100 1 18
20-Jul 18 900 19-Jul 200 600 -1 0
20-Jul 0 0 24-Jul 700 0 4 18
30-Jul 18 900 28-Jul 400 500 -2 0
30-Jul 0 0 4-Aug 600 -100 5 18
As given in the above tabel I wish to GET the qty fig whenever the
Days are
below 7 days with various with condition that bal.is <=0. Please
help
with excel worksheet function.
Thanks in advance
--
cprao- Hide quoted text -

- Show quoted text -



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
divide column(x) by column(y) to give column(x/y) in excel? James New Users to Excel 2 April 24th 23 11:46 AM
Referencing date column A & time column B to get info from column TVGuy29 Excel Discussion (Misc queries) 1 January 24th 08 09:50 PM
Return text in Column A if Column B and Column K match jeannie v Excel Worksheet Functions 4 December 13th 07 07:36 PM
Based on a condition in one column, search for a year in another column, and display data from another column in the same row look [email protected] Excel Discussion (Misc queries) 1 December 27th 06 05:47 PM
what formula do i put for column m = column k minus column l in e. jenniss Excel Discussion (Misc queries) 5 January 6th 05 08:18 PM


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