Error in Excel

  • Thread starter Thread starter Victoria612
  • Start date Start date
V

Victoria612

I created a form that allows our CSR reps to enter in a set of fields and
based on the sequence of answers, a calculation in excel yields the Lead
Level (whether it should go to a Jr. rep or a Sr. rep) - I have programmed in
VB to pull the Lead Level back into a field on the form so the user doesn't
have to ever see the workbook (for security purposes).

It appears that the file can be opened, and updated but when they click
submit, the calculation in excel does not work properly. i created the form
on my 2007 computer but saved it as a 95-2003 version. Anyone in the office
who has Microsoft 2007 can use the fomr successfully. but anyone with 2003
cannot.

Please help!!!

Here is the formula - it is referencing a sheet named "Matrix" which is in
the same workbook, but hidden from users. The data that is entered goes into
Columns A-F and the calculation is placed in Column G:

=INDEX(Matrix!G:G,MATCH(A2&B2&C2&D2&E2&F2,
Matrix!A:A&Matrix!B:B&Matrix!C:C&Matrix!D:D&Matrix!E:E&Matrix!F:F,0))
 
Thank you Dave:

Is it possible for me to change the formula so it just references a fixed
set of cells, like:

=INDEX(Matrix!G2:G34,MATCH(A3&B3&C3&D3&E3&F3,
Matrix!A2:A34&Matrix!B2:B34&Matrix!C2:C34&Matrix!Matrix!D2:D34&Matrix!Matrix!E2:E34&Matrix!Matrix!F2:F34,0))
 
Just realized I copied the formula incorrectly - it should be this:

=INDEX(Matrix!G2:G34,MATCH(A3&B3&C3&D3&E3&F3,
Matrix!A2:A34&Matrix!B2:B34&Matrix!C2:C34&Matrix!D2:D34&Matrix!E2:E34&Matrix!F2:F34,0))

But now when I enter this formula, it is no longer working - it is just
appearing as text in the cell.....is there any way I can fix this, other than
upgrading the other computers?
 
Your formula cell is Text format.

Format to General then hit F2 and ENTER to re-enter the formula.

If you have a great many of these use edit>replace

What: =

With: =

Replace all.


Gord Dibben MS Excel MVP
 
Thank you Gord - that fixed the formula showing as text, but unfortunately
the formula itself is still returning an error....

Something is wrong with the formula and I can't figure out what it is.....

Can you help?
 
Did you remember to array enter the formula (ctrl-shift-enter)?

If you did, then it's time to post the current formula.
 
I think so....

If you mean that after I enter the formula, instead of simply hitting
"Enter" I have to hold down Ctrl&Shift&Enter and then let go, then yes, but
that did nothing. (I wasn't sure what that meant, but I figured it was
literal - :)

Here is my current formula, with 'Matrix' being the worksheet being
referenced:

=INDEX(Matrix!G2:G34,MATCH(A2&B2&C2&D2&E2&F2,
Matrix!A2:A34&Matrix!B2:B34&Matrix!C2:C34&Matrix!D2:D34&Matrix!E2:E34&Matrix!F2:F34,0))

Any help you can provide is greatly appreciated.

Victora
 
Select the cell.
Hit F2 to edit the formula. Hit ctrl-shift-enter instead of enter. If you do
it correctly, excel will wrap curly brackets {} around your formula. (don't
type them yourself.)
 
Back
Top