close

I have a spreadsheet that calculates employees time. I input the employees
code in column C fields and hours in column D fields and it gives me there
pay totals. When I input a the employees code the rate that conincides with
that code automatically pops up in column F. I can change the amount of the
rate that comes up by going to another sheet in that workbook titled
quot;Parametersquot; and changing the dollar amounts on htat sheet. However if I try
to add a new code and payrate to the sheet it does not recognize it on the
Time Entry sheet. It comes up #N/A. There is also something that is unusual
with the parameters page. The codes that are already on the sheet are
aligned on the left side of the cell but there is no left justification for
it, and if I click on to a code and change the number, it jumps to the right
of the cell and then comes up #N/A. How can I add new rates?

Thanks for any help you are able to give.

By the way, the formula in the rate field on the Time Entry sheet is
=IF(C7=quot;quot;,0,VLOOKUP(C7,INDIRECT(quot;EmployeeListquot;),2, FALSE))


Hi,

Try making your EmployeeList dynamic, check out

[url=quot;www.cpearson.com/excel/named.htmquot;]

HTH
JG--
pinmaster
------------------------------------------------------------------------
pinmaster's Profile: www.excelforum.com/member.php?action=getinfoamp;userid=6261
View this thread: www.excelforum.com/showthread.php?threadid=494989

quot;pinmasterquot; wrote:

gt;
gt; Hi,
gt;
gt; Try making your EmployeeList dynamic, check out
gt;
gt; [url=quot;www.cpearson.com/excel/named.htmquot;]
gt;
gt; HTH
gt; JG
gt;
gt;
gt; --
gt; pinmaster
gt; ------------------------------------------------------------------------
gt; pinmaster's Profile: www.excelforum.com/member.php?action=getinfoamp;userid=6261
gt; View this thread: www.excelforum.com/showthread.php?threadid=494989
gt;
gt; Why would the codes be indented to the left side of the cell but show under (right click, format) that it is quot;Generalquot;under alignment?


Hi, left indent usually indicates text, is it possible that those
numbers were entered with an apostrophe in front of them???? Select one
of them and check the formula bar.

Regards
JG--
pinmaster
------------------------------------------------------------------------
pinmaster's Profile: www.excelforum.com/member.php...foamp;userid=6261
View this thread: www.excelforum.com/showthread...hreadid=494989
Question - why does your formual use the INDIRECT function??

why not just:

=IF(C7=quot;quot;,0,VLOOKUP(C7,EmployeeList,2, 0))

just curious!
JG--
pinmaster
------------------------------------------------------------------------
pinmaster's Profile: www.excelforum.com/member.php...foamp;userid=6261
View this thread: www.excelforum.com/showthread...hreadid=494989

quot;pinmasterquot; wrote:

gt;
gt; Question - why does your formual use the INDIRECT function??
gt;
gt; why not just:
gt;
gt; =IF(C7=quot;quot;,0,VLOOKUP(C7,EmployeeList,2, 0))
gt;
gt; just curious!
gt; JG
gt;
gt;
gt; --
gt; pinmaster
gt; ------------------------------------------------------------------------
gt; pinmaster's Profile: www.excelforum.com/member.php...foamp;userid=6261
gt; View this thread: www.excelforum.com/showthread...hreadid=494989
gt;
gt; I don't know. I didn't create the workbook. I took it over from someone who got fired. I looked and there is no apostrophe before the number codes. I checked the format and it is formatted as number and general alignment. Why the left indent?


That is strange indeed.
Maybe some of the MVP's out there could tell you.Regards
JG--
pinmaster
------------------------------------------------------------------------
pinmaster's Profile: www.excelforum.com/member.php...foamp;userid=6261
View this thread: www.excelforum.com/showthread...hreadid=494989

arrow
arrow
    全站熱搜
    創作者介紹
    創作者 software 的頭像
    software

    software

    software 發表在 痞客邦 留言(0) 人氣()