Consulting

Results 1 to 3 of 3

Thread: Solved: Value Function

  1. #1

    Solved: Value Function

    Hi all,

    Im trying to use the value function in a formula and wont seem to work. I can pull a value from a string in one cell and then reference it in another and it works but not in the same formula.
    ex

    I7 = ABC-0200Z
    I8 = VALUE(MID(I7,5,4))

    This pulls the value of 200. I can reference I8 from another cell and use it in a calculation.

    What I want to do is use it in a formula.

    =IF(VALUE(MID(I7,5,4)=200),1,2) but i get a #value!. It seems like the value function used in a formula wont actually treat the result as a number.

    Any ideas?

    thanks much

  2. #2
    Friday morning brain fart...

    I figured out my mistake

    ignore me

  3. #3
    Moderator VBAX Master austenr's Avatar
    Joined
    Sep 2004
    Location
    Maine
    Posts
    2,033
    Location
    The please mark it solved. Thanks.
    Peace of mind is found in some of the strangest places.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •