Hello Team:
Here is the screen shot of the problem. I am looking for help for formula in Column C7
excel.png
Hello Team:
Here is the screen shot of the problem. I am looking for help for formula in Column C7
excel.png
Last edited by vignesha; 11-06-2018 at 08:48 AM.
in general, from your description in the sheet I would advise you to use a vlookup, something like =VLOOKUP(G6,Tradesize,2,TRUE) but with a balance below your lowest value in J:K it will return #N/A so maybe add IFERROR to it? =IFERROR(VLOOKUP(G6,Tradesize,2,TRUE),"")
Make contributors happy, click on the "* Add Reputation" as a way to say thank you.
Sam Capricci
Thank you Sambo.
I tried applying your formula, it wold not return the exact value that I am looking. Do you mind sending your fix in an excel file, so I can check.
As I noted based on what you wrote and the values you had it would return #N/A.
I was not completely clear on your requirements.
your note says
But your example in cell C2 is 10000 which is not in your lookup table. A vlookup will work for a table where your values are in ascending order and you use "TRUE" at the end of the statement but if your value is below the lowest range then I don't know and the formula doesn't know what to do with that. So what do you expect the value to return if the value is below 11000 (such as 10000)?in column C2 I want to compare G6 and put column K values here. for eg: if the value is above 11000 and less than 13000 then it should be 1 if it is above 13,000 but less than 16000 it should be 2 etc.
Sorry, That was a typo, I should have typed C7 and not C2. I am looking for a formula in Cell C7.
From 0 Upto 12999, it should be 1
from 13000 to 15999 it should be 2
from 16000 to 19999 it should be 3 and so on.
Thank you for trying to help me out
Hi Sambo, I changed the lookup table value - in column J5, I put 1 there instead of 11000. Then it worked like a charm. Really appreciate your time and efforts on this. Cannot thank you enough for the same.
God bless
Ragu
If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.
Ali
Enthusiastic self-taught user of MS Excel who's always learning!
Don't forget to say "thank you" in your thread to anyone who has offered you help.
You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.
Forum Rules (updated August 2023): please read them here.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks