Custom Function
Solved/Closed
smd_excel
Posts
27
Registration date
Saturday April 18, 2009
Status
Member
Last seen
November 22, 2012
-
Jul 12, 2010 at 07:18 AM
rizvisa1 Posts 4478 Registration date Thursday January 28, 2010 Status Contributor Last seen May 5, 2022 - Jul 18, 2010 at 09:31 AM
rizvisa1 Posts 4478 Registration date Thursday January 28, 2010 Status Contributor Last seen May 5, 2022 - Jul 18, 2010 at 09:31 AM
Related:
- Custom Function
- Ultimate custom night - Download - Horror
- Custom resolution utility - Download - Customization
- Dino game custom character - Guide
- Find function on mac - Guide
- Accessor function c++ - Guide
2 responses
rizvisa1
Posts
4478
Registration date
Thursday January 28, 2010
Status
Contributor
Last seen
May 5, 2022
766
Jul 13, 2010 at 07:37 AM
Jul 13, 2010 at 07:37 AM
Could you post a sample book to test the function
smd_excel
Posts
27
Registration date
Saturday April 18, 2009
Status
Member
Last seen
November 22, 2012
Jul 13, 2010 at 08:01 AM
Jul 13, 2010 at 08:01 AM
the File is uploaded - https://authentification.site/files/23359445/EBT_-_Projections.xlsm
i have written the function to correct the problem i earlier requested. theres another problem now.....if i drag the formula across the column the values are not getting updated. i need press F2 in every cell of the formula to get the new values. and when i save the workbook all the formulas get recalculated with the same value which equals to the value in the last cell.
i have written the function to correct the problem i earlier requested. theres another problem now.....if i drag the formula across the column the values are not getting updated. i need press F2 in every cell of the formula to get the new values. and when i save the workbook all the formulas get recalculated with the same value which equals to the value in the last cell.
Jul 13, 2010 at 07:57 AM
Jul 13, 2010 at 08:00 AM
Jul 13, 2010 at 10:18 AM
one way could be that you can mark the function as volatile
Application.Volatile
Other thing that you mention is that if you drag across the column. In the book that you have posed you had a call like
=projections(A5) in cell e5
now if you drag this to f5, it will become =projections(b5) in
I think you need to achor it to column A, so dragging does not impact the formula as
=projections($A5)
Jul 14, 2010 at 12:21 AM
let me explain the entire scenario again.
in the Contributions - Individual sheet, col D5 shud have a custom formula which will take the emp_id in A5 (10050001), cutoff (31-Aug-10) from D4 and search for the emp_id is sheet Employee Data column 1 and find the cutoff in row 7 (if cutoff is greater than G7 and less H7) then v shud get the salary i.e. 156000. next go to the options sheet , row 6, check where 156000 falls in this case it will be in D6, take the % in the below cell which is 5%. then in the Contributions - Individual sheet in cell D5 (or any other cell in which the custom function is in) it shud give the value of ((salary / 12) * percentage) .
in the file i uploaded i've managed to do the above i just explained. now when i drag the custom formula (chk sheet Contributions - Individual) in cell E6 till the end, the same value in cell E6 is shown in all cells. unless i hit the F2 button and enter does the value change. if u go to cell E115 which i've highlighted in yellow, the function doenst get calculated. i need to press F2 in E115 and then enter for the values to b calculated.
Jul 18, 2010 at 06:39 AM