LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,572
Default how to vary cell name in formula

What's confusing me about your explanation, is that you're referring to a
*statement of all employee benefits in monetary terms*.

My formula returns a *single* value.
Is this what you refer to as "Employee Benefits"? ... A single number?
OR
Are there additional columns (fields) of information that you want included
in this benefits *statement*.

If you intend to revise the suggested formula yourself, to include these
additional fields, and are just looking for a formula that is able to be
dragged down to copy, and automatically increment the row number, so that
you can return the entire list, you can replace the A1 with:

Rows($1:1)

This will *start* at Row1 and increment as its copied down.

To *start* at Row8, use:
Rows($1:8)

*ALSO* - you would probably need to make C14 absolute, so it *doesn't*
change as it's copied down.

=52*(INDEX(Census!F:F,ROWS($1:8))*INDEX(Census!E:E ,ROWS($1:8)))+52*1.5*(INDEX(Census!G:G,ROWS($1:8)) *INDEX(Census!E:E,ROWS($1:8)))-$C$14

--
HTH,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
"Megan BDI" wrote in message
...
THANK YOU! You're fabulous!
The gist of my second question is this:
if on the Census! sheet, each new row is a different employee--say I have
50
employees, each with their own information filled in. I know that if I
fill
in an employee's row number in A1, it will populate the Calculator sheet
with
the proper info, and I can print that single employee's calculator
sheet--a
sort of statement of all employee benefits in monetary terms. Now, other
than changing the value in A1 for each and every employee/row, and
printing
each calculation sheet individually, is there a way to select the whole
range
of employee/rows from Census! to automatically populate and print in the
calculator sheet?
In other words, if I have employee information filled in in the Census!
sheet from rows 8-58, is there any way to bypass changing the value of A1
manually for every value between 8 and 58 when I want to print the
calculations for all 50 employees at once?

"Ragdyer" wrote:

Try this, where you enter the row number in A1:

=52*(INDEX(Census!F:F,A1)*INDEX(Census!E:E,A1))+52 *1.5*(INDEX(Census!G:G,A1)*INDEX(Census!E:E,A1))-C14


I don't quite follow what you want in the second part of your question.

--
HTH,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
"Megan BDI" <Megan wrote in message
...
I've got a two-sheet workbook on Excel 2003. One sheet will hold
various
information about employees and their paid benefits--one employee per
row,
each column a benefits category. The other sheet is a calculator of
how
all
those benefits add up so employees can see their full compensation
package.
I finally figured out the calculations based off one row of the first
sheet,
but my question is how (short of copy-pasting and re-entering row
numbers
in
each formula) I can get that second page to vary according to which
employee
(row) I want to print and present.
In other words:
if one of my formulae reads:
=(Census!$F8*52*Census!$E8+Census!$G8*52*1.5*Censu s!$E8-C14)
(Census is the first sheet's name)
and 8 is the row number for a specific employee.
How can I make that "8" variable so I can choose which row from the
census
sheet is currently represented in the Calculator sheet?
Would there also be a way that with one action I could print that data
sheet
with all possible employee iterations (one page per employee/row)?






 
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
In excel, how do I vary a cell over a data range & see its effect? Bimal Charts and Charting in Excel 1 April 13th 07 02:21 PM
How break column formatting to vary cell widths vertically? ThxAMillion! Excel Worksheet Functions 1 August 17th 06 08:37 PM
vary the vlookup array depending on the value in a cell Greg Bergin Excel Worksheet Functions 1 June 14th 06 08:58 AM
Vary bar colors by bar Tim Charts and Charting in Excel 1 April 3rd 06 08:20 PM
Vary variables in a formula via reference to another cell Peter Excel Discussion (Misc queries) 2 July 21st 05 07:19 PM


All times are GMT +1. The time now is 04:48 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"