Missing Parenthesis

kcroft88

New Member
Joined
Jun 23, 2016
Messages
37
Hi,

My Excel formula is returning and error that I ant seem to figure out, can anyone advise?

Here I my formula:

=IF($B$2="GS12UV",'X2001 WIP Targets (2)'!F3,IF($B$2="GS12CS",'X2001 WIP Targets (2)'!G3,IF($B$2="GS12C",'X2001 WIP Targets (2)'!H3,IF($B$2="GS6UV",'X2001 WIP Targets (2)'!I3,IF($B$2="GS6CS",'X2001 WIP Targets (2)'!J3),IF($B$2="GS6C",'X2001 WIP Targets (2)'!K3,IF($B$2="GS40UV",'X2001 WIP Targets (2)'!L3,IF($B$2="GS40CS",'X2001 WIP Targets (2)'!M3,IF($B$2="GS40C",'X2001 WIP Targets (2)'!N3,IF($B$2="Combined",'X2001 WIP Targets (2)'!O3,)))

Regards,
 

Excel Facts

Repeat Last Command
Pressing F4 adds dollar signs when editing a formula. When not editing, F4 repeats last command.
Hi,

My Excel formula is returning and error that I ant seem to figure out, can anyone advise?

Here I my formula:

=IF($B$2="GS12UV",'X2001 WIP Targets (2)'!F3,IF($B$2="GS12CS",'X2001 WIP Targets (2)'!G3,IF($B$2="GS12C",'X2001 WIP Targets (2)'!H3,IF($B$2="GS6UV",'X2001 WIP Targets (2)'!I3,IF($B$2="GS6CS",'X2001 WIP Targets (2)'!J3),IF($B$2="GS6C",'X2001 WIP Targets (2)'!K3,IF($B$2="GS40UV",'X2001 WIP Targets (2)'!L3,IF($B$2="GS40CS",'X2001 WIP Targets (2)'!M3,IF($B$2="GS40C",'X2001 WIP Targets (2)'!N3,IF($B$2="Combined",'X2001 WIP Targets (2)'!O3,)))

Regards,

Delete this bracket ive highlighted.
 
Upvote 0
Steve has given you the fix for the formula you posted. This is untested, but I am pretty sure the following formula will do the same thing you posted formula was supposed to do...
Code:
[table="width: 500"]
[tr]
	[td]=OFFSET('X2001 WIP Targets (2)'!F3,0,(FIND(LEFT(B2&"      ",6),"GS12UV,GS12CS,GS12C ,GS6UV ,GS6CS ,GS6C  ,GS40UV,CS40CS,GS40C ,Combined")-1)/7)[/td]
[/tr]
[/table]

Edit Note
------------------------
The above formula is Volatile. Still untested, but I believe this non-Volatile formula will also work...
Code:
[table="width: 500"]
[tr]
	[td]=INDEX('X2001 WIP Targets (2)'!F3:O3,,(FIND(LEFT(B2&"      ",6),"GS12UV,GS12CS,GS12C ,GS6UV ,GS6CS ,GS6C  ,GS40UV,CS40CS,GS40C ,Combined")+6)/7)[/td]
[/tr]
[/table]
 
Last edited:
Upvote 0

Forum statistics

Threads
1,224,827
Messages
6,181,197
Members
453,022
Latest member
RobertV1609

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top