+ Reply to Thread
Results 1 to 13 of 13

Formula to Static Value

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    08-02-2015
    Location
    Hyderabad
    MS-Off Ver
    2007
    Posts
    160

    Formula to Static Value

    Dear All,

    I have a cell (quantity) where I keep on changing the values so that this will be mapped to different sheets

    Here my requirement is,

    formula shouldnot convert to value (as I use this formula daily), but value should be static after re-writing the value in the quantity (as this shouldnt be changed once it is mapped in different sheets)

    Ex: Please refer the attached excel file 2 Sheets.. When I enter quantity in Sheet1, it will mapped to certain cell under receipts column in sheet2 as per the below formula

    =IFERROR(IF(AND(HLOOKUP(A$1,Sheet1!$E$1,1,0)=Sheet1!$E$1,HLOOKUP($A3,Sheet1!$E$3,1,0)=Sheet1!$E$3),Sheet1!$E$5,0),0)

    But here challenge I'm facing is, When I enter quantity for present receipt, it is displaying the value but previous entered value is becoming zero which I should restrict not to happen

    Please do the needful and if not understood my requirement please let me know
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    08-16-2015
    Location
    Antwerpen, Belgium
    MS-Off Ver
    2007-2016
    Posts
    2,380

    Re: Formula to Static Value

    This one add the value, when you enter the field quantity
    if that is what your after



    Kind regards
    Leo
    Attached Files Attached Files

  3. #3
    Forum Contributor
    Join Date
    08-02-2015
    Location
    Hyderabad
    MS-Off Ver
    2007
    Posts
    160

    Unhappy Re: Formula to Static Value

    Thank you very much!!!! This is what I needed But sorry to say that this is just sample data..I will post another report which I req ur help to implement the same logic for other sheets
    Last edited by laansesu; 09-06-2015 at 03:01 AM.

  4. #4
    Forum Contributor
    Join Date
    08-02-2015
    Location
    Hyderabad
    MS-Off Ver
    2007
    Posts
    160

    Re: Formula to Static Value

    Please refer the attached excel where Sheet Receipts UF has Date which will display yesterday's date, Item has the list of headers of the table in the same sheet, Model is the dependent drop-down list which I prepared with formulas, Quantity which should be routed to the particular sheet & item recepients

    As of now, I've used the below formula to retrieve the quantity entered in Receipts UF Sheet

    =IF(AND(K$1='Receipts UF'!$E$2,DownRod!$A3='Receipts UF'!$E$6),'Receipts UF'!$E$8,0). But formula should not be converted into value but result should be static

    Please apply the same code which you done for the sample data and do the needful.
    Attached Files Attached Files
    Last edited by laansesu; 09-06-2015 at 06:18 AM.

  5. #5
    Forum Expert
    Join Date
    08-16-2015
    Location
    Antwerpen, Belgium
    MS-Off Ver
    2007-2016
    Posts
    2,380

    Re: Formula to Static Value

    So is done in this one, just take care that sheet names have the same spelling
    as the validation in E4 of sheets Receipts UF.

    Kind regards
    Leo
    Attached Files Attached Files

  6. #6
    Forum Contributor
    Join Date
    08-02-2015
    Location
    Hyderabad
    MS-Off Ver
    2007
    Posts
    160

    Re: Formula to Static Value

    Thanks Buddy!!!!! Really helped me to the peaks

    Anyway, I've marked this as solved. Just for your info, When Model is also a number, debug is being raised when I'm entering the quantity. So wherever model is also a number, I filled those models as items name - model name so that it is converted into a string.

  7. #7
    Forum Contributor
    Join Date
    08-02-2015
    Location
    Hyderabad
    MS-Off Ver
    2007
    Posts
    160

    Re: Formula to Static Value

    Hi LeoTaxi,

    Its my pleasure meeting you after long time. I'm using your logic and implementing it successfully everyday, but its done upto November.

    I don't know the reason but now in December, whatever entered quantity, it is showing as it is being added in the corresponding cell but the value is not showing in the cell.

    Request you to please check and do the needful.
    Attached Files Attached Files

  8. #8
    Forum Expert
    Join Date
    08-16-2015
    Location
    Antwerpen, Belgium
    MS-Off Ver
    2007-2016
    Posts
    2,380

    Re: Formula to Static Value

    Hi Laansesu

    last file i posted had no formulas in columns receipts


    Kind regards
    Leo

  9. #9
    Forum Contributor
    Join Date
    08-02-2015
    Location
    Hyderabad
    MS-Off Ver
    2007
    Posts
    160
    Quote Originally Posted by LeoTaxi View Post
    Hi Laansesu

    last file i posted had no formulas in columns receipts


    Kind regards
    Leo
    Sorry..its my mistake..but even tried after removing those formulae

    Is this error because of formulae?

    Please help me

  10. #10
    Forum Expert
    Join Date
    08-16-2015
    Location
    Antwerpen, Belgium
    MS-Off Ver
    2007-2016
    Posts
    2,380

    Re: Formula to Static Value

    But i dont have error
    as far as i can see the formulas give everywhere 0 as result
    so it is normal first time you add a quantity it takes this quantity and remove the formula
    second time it will give the new total.


    Kind regards
    Leo

  11. #11
    Forum Contributor
    Join Date
    08-02-2015
    Location
    Hyderabad
    MS-Off Ver
    2007
    Posts
    160

    Re: Formula to Static Value

    Error is Type Mismatch. Why is it so??

  12. #12
    Forum Expert
    Join Date
    08-16-2015
    Location
    Antwerpen, Belgium
    MS-Off Ver
    2007-2016
    Posts
    2,380

    Re: Formula to Static Value

    Error only for 1 ste of december cause this

    sheets production cell AH1 contains
    ="01-"&TEXT(TODAY(),"mmm")&"-"&TEXT(TODAY(),"YYYY")
    change to
    "=VALUE(01-"&TEXT(TODAY(),"mmm")&"-"&TEXT(TODAY(),"YYYY"))
    Kind regards
    Leo

  13. #13
    Forum Contributor
    Join Date
    08-02-2015
    Location
    Hyderabad
    MS-Off Ver
    2007
    Posts
    160

    Re: Formula to Static Value

    You are genius buddy!!!!! Its perfectly worked!!!

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Macro to break and then rejoin formula links
    By caabdul in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 03-30-2015, 09:05 AM
  2. [SOLVED] static formula possible?
    By rjexcel in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-30-2014, 09:35 PM
  3. Replies: 1
    Last Post: 08-12-2013, 08:38 AM
  4. Replies: 2
    Last Post: 08-12-2013, 06:19 AM
  5. Excel 2007 : Formula copy with static value in it
    By ebmaurer in forum Excel General
    Replies: 1
    Last Post: 12-23-2008, 11:07 PM
  6. Keeping a Static Formula
    By Sathed in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-23-2008, 02:21 AM
  7. Static left hand side column and static header row.. how?
    By glic in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-20-2007, 01:45 AM

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