ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   sum formula in a form (https://www.excelbanter.com/excel-programming/329373-sum-formula-form.html)

Jennifer

sum formula in a form
 
Hey all,
I need your expert help. I have created a form (with all of your wonderful
help of coarse) anyways, when the user types in a pallet # I would like a
label to diplay the remaining boxes available on the pallet. It would need to
look in the database and perform a sumif function.
Any advice?
Thank you!
--
Though daily learning, I LOVE EXCEL!
Jennifer

Bob Phillips[_6_]

sum formula in a form
 
totally guessing, but something like

lblPallet.Caption =
Format(Application.Sumif(rngA,txtPallet.Text,rngB) ,"#.##0")

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Jennifer" wrote in message
...
Hey all,
I need your expert help. I have created a form (with all of your wonderful
help of coarse) anyways, when the user types in a pallet # I would like a
label to diplay the remaining boxes available on the pallet. It would need

to
look in the database and perform a sumif function.
Any advice?
Thank you!
--
Though daily learning, I LOVE EXCEL!
Jennifer





All times are GMT +1. The time now is 10:23 PM.

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