Register FAQ/Rules Forum Spy Search Today's Posts Mark Forums Read

Welcome to the Mac Forums forums. Please read the FAQ if you have questions. Register to participate.

 
Go Back   Mac Forums > Apple Software > Mac Applications
TouchArcade.com - iPhone Game Reviews and News

Reply
 
Thread Tools Search this Thread Display Modes
Old Oct 21, 2009, 07:43 AM   #1
thejollyfatman
macrumors newbie
 
Join Date: Oct 2008
Numbers vlookup error message - "ISERROR requires one argument, but was given 4".

Hi all, i have a numbers workbook containing 14 spreadsheets, 1 for takings for each month, one for the year total, and one for a weekly takings view of how my business is doing.

i am trying to get the weekly sheet to show the information taken from all the other sheets when prompted, so i have used a vlookup to find all the necessary information. it works on when i enter some dates and not with others and i cant figure out why. i keep getting the error message "ISERROR requires one argument, but was given 4".

here is the formula :

=IFERROR(VLOOKUP($B11,Takings OCT 09 :: C3:S157, 17), ISERROR (VLOOKUP($B11, Takings APR 09 :: C3:S157, 17), ISERROR(VLOOKUP($B11, Takings MAY 09 :: C3:S157),17), ISERROR(VLOOKUP($B11, Takings JUN 09 :: C3:S157), 17), ISERROR(VLOOKUP($B11, Takings JUL 09 :: C3:S157, 17), ISERROR(VLOOKUP($B11, Takings AUG 09 :: C3:S157),17), ISERROR(VLOOKUP($B11,Takings SEPT 09 :: C3:S157, 17), ISERROR(VLOOKUP($B11, Takings NOV 09 :: C3:S157), 17), ISERROR(VLOOKUP($B11, TakingsDEC 09 :: C3:S157), 17), ISERROR(VLOOKUP($B11, Takings JAN 10 :: C3:S157), 17), ISERROR(VLOOKUP($B11, Takings FEB 10 :: C3:S157, 17), ISERROR(VLOOKUP($B11, Takings MAR 10 :: C3:S157, 17)))))))


This searches for the date i enter on the weekly spreadsheet, through all the monthly ones.

It works in some cases, but not in others.

Any help would be much appreciated.

Thanks.
Rollie
thejollyfatman is offline   Reply With Quote
Old Oct 21, 2009, 10:06 AM   #2
wrldwzrd89
macrumors 601
 
Join Date: Jun 2003
Location: Solon, OH
Quote:
Originally Posted by thejollyfatman View Post
Hi all, i have a numbers workbook containing 14 spreadsheets, 1 for takings for each month, one for the year total, and one for a weekly takings view of how my business is doing.

i am trying to get the weekly sheet to show the information taken from all the other sheets when prompted, so i have used a vlookup to find all the necessary information. it works on when i enter some dates and not with others and i cant figure out why. i keep getting the error message "ISERROR requires one argument, but was given 4".

here is the formula :

=IFERROR(VLOOKUP($B11,Takings OCT 09 :: C3:S157, 17), ISERROR (VLOOKUP($B11, Takings APR 09 :: C3:S157, 17), ISERROR(VLOOKUP($B11, Takings MAY 09 :: C3:S157),17), ISERROR(VLOOKUP($B11, Takings JUN 09 :: C3:S157), 17), ISERROR(VLOOKUP($B11, Takings JUL 09 :: C3:S157, 17), ISERROR(VLOOKUP($B11, Takings AUG 09 :: C3:S157),17), ISERROR(VLOOKUP($B11,Takings SEPT 09 :: C3:S157, 17), ISERROR(VLOOKUP($B11, Takings NOV 09 :: C3:S157), 17), ISERROR(VLOOKUP($B11, TakingsDEC 09 :: C3:S157), 17), ISERROR(VLOOKUP($B11, Takings JAN 10 :: C3:S157), 17), ISERROR(VLOOKUP($B11, Takings FEB 10 :: C3:S157, 17), ISERROR(VLOOKUP($B11, Takings MAR 10 :: C3:S157, 17)))))))


This searches for the date i enter on the weekly spreadsheet, through all the monthly ones.

It works in some cases, but not in others.

Any help would be much appreciated.

Than
Rollie
I can tell just by looking at your formula that the problem is many, many misplaced parentheses. Without access to my Mac, though, I can't easily determine exactly what's wrong... but I can give some general guidance.

1. Check, double-check your arguments! Your parentheses are inconsistent in several places in your formula. For example, some groups inside the IFERROR function have a ) before the , 17 and others do not.
2. Numbers is correct that ISERROR only takes one argument - this is caused by not closing the parenthesis group properly where the VLOOKUP ends, inside the call to ISERROR. There appear to be many, many cases where you need not one, but TWO closing parentheses after each group.
__________________
iMac Intel, 1TB HDD upgrade, 10.6.2; iMac G5, 300GB HDD, 10.4.11/10.5.8; iPod touch, 3.1.3
wrldwzrd89 is offline   Reply With Quote
Old Oct 21, 2009, 11:13 AM   #3
thejollyfatman
Thread Starter
macrumors newbie
 
Join Date: Oct 2008
OK, ive done that and tidied it up.

It now looks like this:

=IFERROR(VLOOKUP($B10,Takings OCT 09 :: C3:S157, 17)),
ISERROR(VLOOKUP($B10,Takings APR 09 :: C3:S157, 17)), ISERROR(VLOOKUP($B10,Takings MAY 09 :: C3:S157, 17)), ISERROR(VLOOKUP($B10,Takings JUN 09 :: C3:S157, 17)), ISERROR(VLOOKUP($B10,Takings JUL 09 :: C3:S157, 17)), ISERROR(VLOOKUP($B10,Takings AUG 09 :: C3:S157, 17)), ISERROR(VLOOKUP($B10,Takings SEPT 09 :: C3:S157, 17)), ISERROR(VLOOKUP($B10,Takings NOV 09 :: C3:S157, 17)), ISERROR(VLOOKUP($B10,Takings DEC 09 :: C3:S157, 17)), ISERROR(VLOOKUP($B10,Takings JAN 10 :: C3:S157, 17)), ISERROR(VLOOKUP($B10,Takings FEB 10 :: C3:S157, 17)), ISERROR(VLOOKUP($B10,Takings MAR 10 :: C3:S157, 17))))

and it is now showing the error - "the formula contains a syntax error".

sorry but im new to all this and am really rather confused .
thejollyfatman is offline   Reply With Quote

Reply

Mac Forums > Apple Software > Mac Applications

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 11:27 AM.

Mac News | Mac Rumors | iPhone Game Reviews | iPhone Apps

Powered by vBulletin® Version 3.6.10
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Copyright 2002-2010, MacRumors.com, LLC