Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Dave O.
 
Posts: n/a
Default commission report #NA errors

I put this formula in my comm report and when i format the other cells in the
collumn i get an #na error message. It says that not all the data is
available. I may not put the data in and would like to get rid of the error
(i dont think anything is wrong, the math is ok) and it is affecting my
totals.
=LOOKUP(E5,{3,3.15,3.25,3.35,3.45,3.55,3.65,3.75}, {0.38,0.43,0.46,0.49,0.
52,0.56,0.59,0.62})*D5-H5

Again i appreciate all the help!!
  #2   Report Post  
Domenic
 
Posts: n/a
Default

If you want the calculation to take place only when E5 contains a
value...

=IF(E5<"",LOOKUP(E5,{3,3.15,3.25,3.35,3.45,3.55,3 .65,3.75},{0.38,0.43,0.
46,0.49,0.52,0.56,0.59,0.62})*D5-H5,"")

If you want the calculation to take place only when D5, H5, and E5, all
contain data...

=IF((D5<"")*(E5<"")*(H5<""),LOOKUP(E5,{3,3.15,3 .25,3.35,3.45,3.55,3.65
,3.75},{0.38,0.43,0.46,0.49,0.52,0.56,0.59,0.62})* D5-H5,"")

Hope this helps!

In article ,
"Dave O." wrote:

I put this formula in my comm report and when i format the other cells in the
collumn i get an #na error message. It says that not all the data is
available. I may not put the data in and would like to get rid of the error
(i dont think anything is wrong, the math is ok) and it is affecting my
totals.
=LOOKUP(E5,{3,3.15,3.25,3.35,3.45,3.55,3.65,3.75}, {0.38,0.43,0.46,0.49,0.
52,0.56,0.59,0.62})*D5-H5

Again i appreciate all the help!!

  #3   Report Post  
CLR
 
Posts: n/a
Default

Try wrapping your formula in an IF statement..........

=IF(ISNA(LOOKUP(E5,{3,3.15,3.25,3.35,3.45,3.55,3.6 5,3.75},{0.38,0.43,0.46,0.
49,0.52,0.56,0.59,0.62})*D5-H5),"",LOOKUP(E5,{3,3.15,3.25,3.35,3.45,3.55,3.6
5,3.75},{0.38,0.43,0.46,0.49,0.52,0.56,0.59,0.62}) *D5-H5)

Vaya con Dios,
Chuck, CABGx3


"Dave O." wrote in message
...
I put this formula in my comm report and when i format the other cells in

the
collumn i get an #na error message. It says that not all the data is
available. I may not put the data in and would like to get rid of the

error
(i dont think anything is wrong, the math is ok) and it is affecting my
totals.
=LOOKUP(E5,{3,3.15,3.25,3.35,3.45,3.55,3.65,3.75}, {0.38,0.43,0.46,0.49,0.
52,0.56,0.59,0.62})*D5-H5

Again i appreciate all the help!!



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
commission report formula Dave O. Excel Discussion (Misc queries) 1 April 15th 05 12:56 AM
How do I create a push report in Excel? ujusts Excel Discussion (Misc queries) 1 March 31st 05 06:30 PM
Linking worksheets after runnning report Steve Excel Discussion (Misc queries) 0 February 28th 05 09:21 PM
Microsoft Access Report into Excel Spreadsheet zeebyrd Excel Discussion (Misc queries) 1 February 27th 05 12:36 AM
Help with Commission forumlas asdfasdf Excel Worksheet Functions 6 November 15th 04 05:28 PM


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