Book Library with Form
We have several books in our store that we lend out for employees to read and I need a way to easily keep track of requests and know if they are in use or available. Below are screenshots of what I am thinking but I am unable to figure out what type of formula I will need to know when a submission is made to request a book, if it is available or in use.
Has anyone ever done something like this before?
Best Answer
-
You would use something more like this:
=IF(COUNTIFS([BOOK TO BORROW]:[BOOK TO BORROW], @cell = [BOOK TO BORROW], [DATE PICKED UP]:[DATE PICKED UP], @cell <> "")> COUNTIFS([BOOK TO BORROW]:[BOOK TO BORROW], @cell = [BOOK TO BORROW], [RECEIVED BACK TO STORE]:[RECEIVED BACK TO STORE], @cell <> ""), "Unavailable", "Available")
Answers
-
I WOULD LOVE FOR THIS ENTIRE PROCESS TO BE AUTOMATED AND THIS IS HOW I AM THINKING IT COULD WORK.
BOOK LIBRARY IS ONE SHEET
BOOKS BORROWED IS ANOTHER SHEET - FORM
TO BORROW A BOOK, NEED TO FILL OUT FORM
IF BOOK IS AVAILABLE, APPROVED AND GIVEN DUE DATE OF 2 WEEKS. THIS SHEET WOULD NEED TO CHECK THE STATUS ON THE BOOK LIBRARY SHEET TO SEE IF ITS AVAILABLE OR IN USE
ONCE BOOK IS RETURNED, ON DUE DATE AN EMAIL WILL GO OUT TO UPDATE STATUS OF BOOK "RETURNED OR NEED MORE TIME"
IF BOOK IS IN USE, EMAIL TO GO OUT LETTING THEM KNOW WHEN THE BOOK WILL BE AVAILABLE.
-
You would basically COUNTIFS how many dates have been submitted for "Borrowed" and compare that to the COUNTIFS of how many dates have been submitted for "Returned". If "Borrowed" is more than "Returned" then the book is out.
-
@Paul Newcome i need a little more help. what column would the countifs go in? i am not sure i understand.
-
THIS IS THE FORMULA I AM TRYING
=COUNTIFS([BOOK TO BORROW]:[BOOK TO BORROW], "ATOMIC HABITS", [DATE PICKED UP]:[DATE PICKED UP], " "). ITS NOT WORKING THOUGH.
-
You would use something more like this:
=IF(COUNTIFS([BOOK TO BORROW]:[BOOK TO BORROW], @cell = [BOOK TO BORROW], [DATE PICKED UP]:[DATE PICKED UP], @cell <> "")> COUNTIFS([BOOK TO BORROW]:[BOOK TO BORROW], @cell = [BOOK TO BORROW], [RECEIVED BACK TO STORE]:[RECEIVED BACK TO STORE], @cell <> ""), "Unavailable", "Available")
-
@Paul Newcome Thank you!
-
Happy to help. 👍️
-
@Paul Newcome Thank you!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 65K Get Help
- 443 Global Discussions
- 140 Industry Talk
- 472 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 149 Just for fun
- 70 Community Job Board
- 497 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 301 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!