ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Can logical formulas be used to build accounts receivable workshe. (https://www.excelbanter.com/excel-worksheet-functions/49376-can-logical-formulas-used-build-accounts-receivable-workshe.html)

Kev270

Can logical formulas be used to build accounts receivable workshe.
 
Can the IF Logical formula be used with an argument that asks if a number
falls in a rang between 2 numbers. I am trying to create an A/R Aging
worksheet. I want to use a formula that asks if the age of the invoice falls
between 31-60 days, if it does I want the dollar amount inserted in that
cell. Same for the other age ranges. I can use the IF formula only if I am
asking is a number or < than 1 number.

bill k


=IF(AND(($A$9-A12)<=60,($A$9-A12)31),B12,"")

A9 has =today()
a12 is the date of invoice
b12 is amount of invoice


--
bill k


------------------------------------------------------------------------
bill k's Profile: http://www.excelforum.com/member.php...nfo&userid=821
View this thread: http://www.excelforum.com/showthread...hreadid=474400


Peo Sjoblom

use AND as well

=IF(AND(A1=date1,A1<=date2),amount,"not within date range")

--
Regards,

Peo Sjoblom

(No private emails please)


"Kev270" wrote in message
...
Can the IF Logical formula be used with an argument that asks if a number
falls in a rang between 2 numbers. I am trying to create an A/R Aging
worksheet. I want to use a formula that asks if the age of the invoice
falls
between 31-60 days, if it does I want the dollar amount inserted in that
cell. Same for the other age ranges. I can use the IF formula only if I am
asking is a number or < than 1 number.




All times are GMT +1. The time now is 11:45 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com