#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 36
Default formula

Hi

I have categorized employees in different categories like a,b,c,d,e,f based
on this i want to deduct their P.F (A6) amount in their pay . Suppose if
A2=a then A6 should take the value of say a20, and if A2=b, then it should
take value of a21 like that.

Can any one tell me the formula.

Regards,
--
srinivas
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,501
Default formula

Hi,

One way. Build a table somewhere out of the way looking like this I used Q1
to R6

a =A20
b =A21
c =A22
etc

Because of the formula (=A20etc) the table will end up showing the values in
A20 etc.

The use this formula

=VLOOKUP(A2,Q1:R6,2,FALSE)

Mike


"Srinivas" wrote:

Hi

I have categorized employees in different categories like a,b,c,d,e,f based
on this i want to deduct their P.F (A6) amount in their pay . Suppose if
A2=a then A6 should take the value of say a20, and if A2=b, then it should
take value of a21 like that.

Can any one tell me the formula.

Regards,
--
srinivas

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



All times are GMT +1. The time now is 12:03 PM.

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

About Us

"It's about Microsoft Excel"