+ Reply to Thread
Results 1 to 4 of 4

Conditional cell values

  1. #1
    Registered User
    Join Date
    03-03-2009
    Location
    Sydney
    MS-Off Ver
    Excel 2003
    Posts
    4

    Conditional cell values

    I am working on a sheet to deliver to some of our trading partners that needs an id number attached to the first column of the sheet. I have tried the formula =if(isblank(A2),"",<ID#>) to input the ID# (a hard coded numeric value, eg 56) into this first cell when the cell next to it is updated. However this inserts, by default, a NULL value into all 65K rows in the sheet as i need to copy and paste it down etc. Is there a way that i can get this value into the cell automatically when a value is entered (or pasted) into the A2 cell? I need to do this and not add any additional blank rows to the spreadsheet as this crashes an import downstream in the logic...

  2. #2
    Registered User
    Join Date
    11-24-2008
    Location
    Moscow, Russia
    MS-Off Ver
    MS Office 2003, 2007
    Posts
    90

    Re: Conditional cell values

    Adam, what is wrong with your formula?
    if it extracts the ID, and you don't know how many rows you're gonna have when the data is imported, you can only get the result by entring a formula (or a name).
    maybe there is a way to use a macro, which I don't know well
    Last edited by Freaky_zoid; 03-05-2009 at 09:18 AM.

  3. #3
    Registered User
    Join Date
    03-03-2009
    Location
    Sydney
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: Conditional cell values

    Mr Zoid Thanks for you help with this one.. the problem with the formula is that i'm importing this spreadsheet into another application. When the import runs with this formula, the entire 65K are imported, mostly as null values... I've 'kind of' got around this problem by adding a custom value for the cell which only allows 1 number to be entered... but i can't set that cell as mandatory based on data in the cell next to it....

  4. #4
    Registered User
    Join Date
    11-24-2008
    Location
    Moscow, Russia
    MS-Off Ver
    MS Office 2003, 2007
    Posts
    90

    Re: Conditional cell values

    Adam,
    it is difficult to figure out the reason, 'cos I don't know anything about the other program you are using. But it seems to me that the problem is in not recognizing the links in excel formulae.
    PS: actually I am miss Zoid, not mr

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1