Hi,
I have been stuck messing with IIf expressions for the past week with no success. Wonder if anyone can help me out!
I have been given the onerous task of converting many of the spreadsheets we hold here at work to a database format (Access 2007). Therein I have encountered a problem!
I have a spreadsheet that currently records outstanding items. There is a formula to calculate the priority in which the items should be handled:
=IF(K5="O",IF((I5-TODAY())>5,"Priority 2","Priority 1"),"")
K5 Is the status of the item (O=Open, C=Closed, H=On Hold)
I5 Is the date the item is due/needed
The above formula has the following result:
Any action within 7 days of the due date = Priority 1
Any action with more than 7 days to the due date = Priority 2
Actions on Hold = H
Actions Closed = C
I would like to produce the same result in a form (autogenerates once all the required information is available) but unfortunately I do not know how. I would very much appreciate any help on this.
Thanks a lot
Dave
I have been stuck messing with IIf expressions for the past week with no success. Wonder if anyone can help me out!
I have been given the onerous task of converting many of the spreadsheets we hold here at work to a database format (Access 2007). Therein I have encountered a problem!
I have a spreadsheet that currently records outstanding items. There is a formula to calculate the priority in which the items should be handled:
=IF(K5="O",IF((I5-TODAY())>5,"Priority 2","Priority 1"),"")
K5 Is the status of the item (O=Open, C=Closed, H=On Hold)
I5 Is the date the item is due/needed
The above formula has the following result:
Any action within 7 days of the due date = Priority 1
Any action with more than 7 days to the due date = Priority 2
Actions on Hold = H
Actions Closed = C
I would like to produce the same result in a form (autogenerates once all the required information is available) but unfortunately I do not know how. I would very much appreciate any help on this.
Thanks a lot
Dave