Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
hui hui is offline
external usenet poster
 
Posts: 2
Default how to set default column function

I put salary in Column A, I hope when I input someone's salary in column A,
in column B the corresponding tax would be computed automatically. And I am
not sure I need how many Rows there are in my worksheet. It means I can
input salary in any row in column A and the tax would be computed in column
B.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4,624
Default how to set default column function

Take a look he

http://www.mcgimpsey.com/excel/variablerate.html

In article ,
"hui" wrote:

I put salary in Column A, I hope when I input someone's salary in column A,
in column B the corresponding tax would be computed automatically. And I am
not sure I need how many Rows there are in my worksheet. It means I can
input salary in any row in column A and the tax would be computed in column
B.

May I do it in Excel worksheet?

thank u in advance

hui

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
hui hui is offline
external usenet poster
 
Posts: 2
Default how to set default column function

I means I can put any function in some Column so that when the corresponding
column data changes, the column would automaticall exceute column function.
not only about tax.

such as
I put function "=year(now)-left(a1,4)" in Col B, it would work in whole
Column
Col:A Col:B
1 1980-9-1 27
2 1983-11-2 24
.........................
X Row (I am not sure where it is)
X 1979-8-2 28
........................

hui


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,718
Default how to set default column function

Assuming your A1 is a real date

B1 =IF(A1="","",YEAR(TODAY())-YEAR(A1))

Format cell as General
Copy all the way down as far as needed


"hui" wrote:

I put salary in Column A, I hope when I input someone's salary in column A,
in column B the corresponding tax would be computed automatically. And I am
not sure I need how many Rows there are in my worksheet. It means I can
input salary in any row in column A and the tax would be computed in column
B.

May I do it in Excel worksheet?

thank u in advance

hui



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
LINKEDRANGE function - a complement to the PULL function (for getting values from a closed workbook) [email protected] Excel Worksheet Functions 0 September 5th 06 03:44 PM
Custom functions calculating time arguments Help Desperate Bill_De Excel Worksheet Functions 12 April 25th 06 02:22 AM
Return SEARCHED Column Number of Numeric Label and Value Sam via OfficeKB.com Excel Worksheet Functions 23 January 30th 06 06:16 PM
Need to Improve Code Copying/Pasting Between Workbooks David Excel Discussion (Misc queries) 1 January 6th 06 03:56 AM
creating a bar graph Johnfli Excel Discussion (Misc queries) 0 October 26th 05 08:16 PM


All times are GMT +1. The time now is 07:05 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"