Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 124
Default Finding a valid cell in a row

I have a spreadsheet with rows of employees and columns of months in the year
for five years. Each month is actually three columns "Salary", "Hours", "%".
There is only an entry when a salary changes. I need to be at one "%" and
look back down the row to find the previous salary so that the percentage
increase can be calculated. How do I find that previous salary. You can
assume the hours are always less than 40 and the salary greater than 100.
This is an example of the spreadsheet:

1 A B C D E F G H I J
K L
2 Mth1 Mth2 Mth3 Mth4
3 Name Salary Hrs % Salary Hrs % Salary Hrs % Salary Hrs %
4 Aa 500 39 550 39
5 Bb 600 35 695 35

Thanks

Charles
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 459
Default Finding a valid cell in a row

Charles wrote:
I have a spreadsheet with rows of employees and columns of months in
the year for five years. Each month is actually three columns
"Salary", "Hours", "%". There is only an entry when a salary
changes. I need to be at one "%" and look back down the row to find
the previous salary so that the percentage increase can be
calculated. How do I find that previous salary. You can assume the
hours are always less than 40 and the salary greater than 100. This
is an example of the spreadsheet:

1 A B C D E F G H I
J K L
2 Mth1 Mth2 Mth3
Mth4 3 Name Salary Hrs % Salary Hrs % Salary Hrs % Salary Hrs
% 4 Aa 500 39 550 39
5 Bb 600 35 695 35

Thanks

Charles


Hi Charles,

you can use this formula in G4 (the % cell for month2) and then copy across
the rows and also in the % cells of next months.

=IF(AND(E4<B4,B4<""),(E4-B4)/B4,"")

--
(I'm not sure of names of menus, options and commands, because
translating from the Italian version of Excel...)

Hope I helped you.

Thanks in advance for your feedback.

Ciao

Franz Verga from Italy


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
insert date Larry Excel Worksheet Functions 28 July 15th 06 02:41 AM
Compiling macro based on cell values simonsmith Excel Discussion (Misc queries) 1 May 16th 06 08:31 PM
resetting last cell jagdish.eashwar Excel Discussion (Misc queries) 11 March 31st 06 02:06 AM
Input cell reference is not valid (One Variable Data Table) Dottore Excel Worksheet Functions 9 September 1st 05 03:05 PM
Possible Lookup Table Karen Excel Worksheet Functions 5 June 8th 05 09:43 PM


All times are GMT +1. The time now is 08:33 PM.

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"