+ Reply to Thread
Results 1 to 14 of 14

Excel 2007 : If condition

Hybrid View

sriramakella23 If condition 06-21-2010, 04:25 AM
pike Re: Excel Formula 06-21-2010, 04:31 AM
sriramakella23 Re: Excel Formula 06-21-2010, 04:35 AM
pike Re: Excel Formula 06-21-2010, 04:54 AM
sriramakella23 Re: Excel Formula 06-21-2010, 04:58 AM
sriramakella23 Re: Excel Formula 06-21-2010, 05:02 AM
pike Re: Excel Formula 06-21-2010, 05:17 AM
sriramakella23 Re: If Condition 06-21-2010, 06:36 AM
teylyn Re: Excel Formula 06-21-2010, 05:26 AM
pike Re: Excel Formula 06-21-2010, 06:48 AM
sriramakella23 Re: If Condition 06-21-2010, 06:58 AM
pike Re: If condition 06-21-2010, 07:33 AM
sriramakella23 Re: If condition 06-21-2010, 07:59 AM
pike Re: If condition 06-21-2010, 03:37 PM
  1. #1
    Registered User
    Join Date
    06-21-2010
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    9

    If condition

    Hi,
    I need an excel formula..
    I want the value in second column for every 10 CSAs in the first there should be one TL
    and for every 15 CSAs there should be one QTL.

    Please anyone could help me on this.

    Thank you
    Sriram Akella
    Attached Files Attached Files
    Last edited by sriramakella23; 06-21-2010 at 06:49 AM. Reason: Title Change

  2. #2
    Forum Expert pike's Avatar
    Join Date
    12-11-2005
    Location
    Alstonville, Australia
    MS-Off Ver
    2016
    Posts
    5,342

    Re: Excel Formula

    Hi sriramakella23,
    Welcome to the forum.
    Can you edit the attached work book to show before and after results as its a little hard to follow what is required.
    If the solution helped please donate to RSPCA

    Site worth visiting: Rabbitohs

  3. #3
    Registered User
    Join Date
    06-21-2010
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    9

    Re: Excel Formula

    ok let me put it in this way.
    for 1 to 10 CSAs there should be one TL and from 10 to 20 CSAs there should be two TLs.likewise it should increase.
    and for QTL for every 15 CSAs there shoiuld be 1 QTL and ffrom 15 to 30 CSAs there should be two QTLs..
    Hope this is clear.
    Thank you.

  4. #4
    Forum Expert pike's Avatar
    Join Date
    12-11-2005
    Location
    Alstonville, Australia
    MS-Off Ver
    2016
    Posts
    5,342

    Re: Excel Formula

    oh.. maybe...
    =REPT("TL ",ROUNDUP(C2/10,0)) and
    =REPT("QTL ",ROUNDUP(C2/15,0))

  5. #5
    Registered User
    Join Date
    06-21-2010
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    9

    Re: Excel Formula

    Hi,
    Thanks for the reply.. i need numbers like <10 it should display 1 TL, <=10 and >=20 CSAs it should be display 2 , >=20 and <=30 3 for TL and for QTL <=15 1 QTL and >=15 and <=30 2 QTLs etc.

    Thanks

  6. #6
    Registered User
    Join Date
    06-21-2010
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    9

    Re: Excel Formula

    IF((B2-MOD(B2,10))/10=0,1,(B2-MOD(B2,10))/10). i have tried using this formula. but i need for 11 CSA one TL.
    Thanks

  7. #7
    Forum Expert pike's Avatar
    Join Date
    12-11-2005
    Location
    Alstonville, Australia
    MS-Off Ver
    2016
    Posts
    5,342

    Re: Excel Formula

    Quote Originally Posted by sriramakella23 View Post
    Hi,
    Thanks for the reply.. i need numbers like <10 it should display 1 TL, <=10 and >=20 CSAs it should be display 2 , >=20 and <=30 3 for TL and for QTL <=15 1 QTL and >=15 and <=30 2 QTLs etc.

    Thanks
    which one, >=20 can only be 2 or 3 not both?

  8. #8
    Registered User
    Join Date
    06-21-2010
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    9

    Re: If Condition

    Ok for 1 to 10 CSA 1 TL, 10 to 20 CSAs 2 TLs, 20 to 30 CSAs 3 TLs and so on.
    and for QTL 1 to 15 CSAs 1 QTL, 15 to 30 CSAs 2 QTLs, 30 to 45 3 QTLS and so on..
    Thanks
    Last edited by sriramakella23; 06-21-2010 at 06:48 AM. Reason: Title Change

  9. #9
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,375

    Re: Excel Formula

    Your post does not comply with Rule 1 of our Forum RULES. Your post title should accurately and concisely describe your problem, not your anticipated solution. Use terms appropriate to a Google search. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will be addressed according to the OP's experience in the forum: If you have less than 10 posts, expect (and respond to) a request to change your thread title. If you have 10 or more posts, expect your post to be locked, so you can start a new thread with an appropriate title.
    To change a Title on your post, click EDIT then Go Advanced and change your title, if 2 days have passed ask a moderator to do it for you.

    PLEASE PM WHEN YOU HAVE DONE THIS AND I WILL DELETE THIS POST

  10. #10
    Forum Expert pike's Avatar
    Join Date
    12-11-2005
    Location
    Alstonville, Australia
    MS-Off Ver
    2016
    Posts
    5,342

    Re: Excel Formula

    Hey sriramakella23,
    The request to change your title must be addressed before we can continue. Can you please go to your first post and click "edit" then "go advanced" and change your title to something about the specific forumlae/function and then save. It will make search for answers easier for other with a similar puzzle.

  11. #11
    Registered User
    Join Date
    06-21-2010
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    9

    Re: If Condition

    Hi,
    I have given the output in TL & QTL rows. I need an if condition which will generate automatically the values.
    Thanks
    Attached Files Attached Files

  12. #12
    Forum Expert pike's Avatar
    Join Date
    12-11-2005
    Location
    Alstonville, Australia
    MS-Off Ver
    2016
    Posts
    5,342

    Re: If condition

    hmmm..
    I dont think the figure are right in the table results for the value of 30 with 15 base
    =ROUNDUP(B2/10,0)+IF(MOD(B2,10)=0,1,0)
    =ROUNDUP(B2/15,0)+IF(MOD(B2,15)=0,1,0)

  13. #13
    Registered User
    Join Date
    06-21-2010
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    9

    Thumbs up Re: If condition

    Hi,
    Thanx alot. it worked.
    Sriram

  14. #14
    Forum Expert pike's Avatar
    Join Date
    12-11-2005
    Location
    Alstonville, Australia
    MS-Off Ver
    2016
    Posts
    5,342

    Re: If condition

    Your post does not comply with Rule 9 of our Forum RULES. If you solve a problem yourself before anyone else has responded, please take a moment to describe your solution, chances are some other member will benefit. And please never edit a thread in which someone else has responded.

    How to mark a thread Solved
    Go to the first post
    Click edit
    Click Go Advanced
    Just below the word Title you will see a dropdown with the word No prefix.
    Change to Solved
    Click Save

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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