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: 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


  #4   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,"")

  #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 -



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

How can he get 18 in the first row?




--


Regards,


Peo Sjoblom

"Roger Govier" <roger@technology4unospamdotcodotuk wrote in message
...
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 -




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

Hi Peo

I have absolutely no idea.
In his request, he keeps referring to tests on row 3, and getting a result
from B2.
I merely offered this amendment as a solution that satisfied both his
formula and his required result.

Seems very strange to me.

--
Regards
Roger Govier

"Peo Sjoblom" wrote in message
...
How can he get 18 in the first row?




--


Regards,


Peo Sjoblom

"Roger Govier" <roger@technology4unospamdotcodotuk wrote in message
...
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 -






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

Thanks Roger & Peo for the interest. Peo is write. The formula has to work
for evey row. Please be in contact. Thanks in advance
--
cprao


"Roger Govier" wrote:

Hi Peo

I have absolutely no idea.
In his request, he keeps referring to tests on row 3, and getting a result
from B2.
I merely offered this amendment as a solution that satisfied both his
formula and his required result.

Seems very strange to me.

--
Regards
Roger Govier

"Peo Sjoblom" wrote in message
...
How can he get 18 in the first row?




--


Regards,


Peo Sjoblom

"Roger Govier" <roger@technology4unospamdotcodotuk wrote in message
...
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 -




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

The formula they gave should work, and you should be able to copy it
down to every row and it should work in every row. In fact, the first
formula from smartin should not be able to return a zero in J2 (only
options should be "18", blank cell, or maybe an error message), yet
you said it did. Are you sure you typed it correctly?

And are you sure you typed your posts correctly? Notice the comments
from Peo and Roger, you are specifying 2 different rows in your
request. Is that really what you want? Accuracy is very important when
typing the rows and columns.
  #13   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15
Default GET QTY in column J

I have found the following formula. Can anybody give shorter than this. It
would be helpful.

=IF(AND(F2<=0,G2<7),INDEX(B$2:B$6,IF(COUNTIF(B1:B2 ,"0")1,ROW(),ROW()-1))
--
cprao


"Peo Sjoblom" wrote:

How can he get 18 in the first row?




--


Regards,


Peo Sjoblom

"Roger Govier" <roger@technology4unospamdotcodotuk wrote in message
...
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 -





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

Perhaps =IF(AND(F2<=0,G2<7),INDEX(B$2:B$6,ROW()-1+(B10)*(B20))) ?
--
David Biddulph

"cprao" wrote in message
...
I have found the following formula. Can anybody give shorter than this. It
would be helpful.

=IF(AND(F2<=0,G2<7),INDEX(B$2:B$6,IF(COUNTIF(B1:B2 ,"0")1,ROW(),ROW()-1))
--
cprao



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

Using the same principle this is three characters fewer:

=INDEX(B$2:B$6,ROW()-1+(B10)*(B20))*((F2<=0)*(G2<7))

There is no *false* argument in either of the formulas so they both return
FALSE. This one returns 0, which may not suit the OP's requirements.

--
HTH

Sandy
In Perth, the ancient capital of Scotland
and the crowning place of kings


Replace @mailinator.com with @tiscali.co.uk


"David Biddulph" <groups [at] biddulph.org.uk wrote in message
...
Perhaps =IF(AND(F2<=0,G2<7),INDEX(B$2:B$6,ROW()-1+(B10)*(B20))) ?
--
David Biddulph

"cprao" wrote in message
...
I have found the following formula. Can anybody give shorter than this. It
would be helpful.

=IF(AND(F2<=0,G2<7),INDEX(B$2:B$6,IF(COUNTIF(B1:B2 ,"0")1,ROW(),ROW()-1))
--
cprao







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 11:13 PM.

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

About Us

"It's about Microsoft Excel"