Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. plantj

    what if I want more fields than in the group by

    RSX02 jiqjaq has told you no lies but I'm not sure either of us understands your requirements yet You said that given this data... co_num Item.item co_ship.Ship_date coitem.qty_shipped 10 cp-10000 2002-10-26 2 11 cp-13000 2002-10-26 4 12...
  2. plantj

    Running Totals in Access

    bluedragon2, sorry about the delayed response. I believe 2 tables are required because otherwise if there are no sales for a particular month there wouldn't be any output for that month. But you are correct in that all the "real" data is in the existing database.
  3. plantj

    Populate a list base on Rating

    Try advanced filter. Say you name the full list range "rngAll". On a separate sheet create a 2 row range with the first row containing the heading for the ranking (as in the main range) and under it put the "excellent" rank. Name this range, say, "rngCriteria&quot...
  4. plantj

    How do you change the colour of a worksheet tab?

    Prior to Excel XP you only had the option to add a background picture. You could use a pict with a flat colour to do what you wanted. Won't print though if that matters.
  5. plantj

    Running Totals in Access

    Every solution is ugly in Access :) This is an SQL 7 solution you could adapt (I don't have Access, sorry) create table month( i int ) go insert into month values(1) insert into month values(2) insert into month values(3) insert into month values(4) insert into month values(5) insert into...
  6. plantj

    Key board shortcuts

    Go Insert | Symbol You can assign your own shortcut keys
  7. plantj

    histogram OR bar chart

    Column charts have data points running vertically whereas bar charts run horizontally. They are both histograms.
  8. plantj

    zooming into cells

    Why not just pick "Selection" from the zoom combo? As Zathras pointed out, customised interfaces cause confusion.
  9. plantj

    Excel 97 autosave / recover?

    It's very low tech but the solution I use is to press Ctrl-S often.
  10. plantj

    COUNTA counts blank cells

    Good thinking. Would this do? =ROWS(range)-COUNTBLANK(range) Or for good measure - taking out the cells with a single double quote... =ROWS(range)-COUNTBLANK(range)-COUNTIF(range,"""")
  11. plantj

    COUNTA counts blank cells

    Don't give up that easy :) Curiously, it seems that COUNTBLANK counts cells containing a single quote even though ISBLANK returns false for such cells. Try this - it may give you the one liner you need... =COUNTA(a1:a10)-COUNTIF(a1:a10,"""")-COUNTBLANK(a1:a10)
  12. plantj

    Word: View Header and Footer Paging Problem?

    Yes I have experienced this problem too Corinthia. I think the fact that the {numpages} field is not always automatically updated - especially when it appears in a header or footer. As far as I can tell you will need to select all (ctrl-A) and update fields (F9) before printing. I even added...
  13. plantj

    Excel last column cell value to use in calculations

    Does this help... If the total is in the last cell in column H on Sheet22 the following formula will return it. =OFFSET(Sheet22!$A$1,COUNTA(Sheet22!$A:$A)-1,7)
  14. plantj

    Join tables

    I'm surprised if even runs: Code is an ambiguous fieldname (contained in T1 and T2). This aside your left join will work as an inner join since you reference T2 in the where clause. Try something like... SELECT T1.Code, T1.Desc FROM T1 LEFT JOIN T2 ON T1.Code = T2.Code and T1.Qty > T2.Qty...
  15. plantj

    Change the ordinal for existing column

    NoCoolHandle, I must say in fafrazh99's defense that (i) the careful ordering of columns can pay off by aiding the readability of the schema (ii) select * is bad practise in most situations but it can be used often by support and maintenance personnel (iii) fafrazh99 may have many tables to...
  16. plantj

    Calculating hours worked in Excel?

    Try this in a new sheet A1: Start A2: Finish A3: Worked B1: 09:00 B2: 17:00 B3: =Finish-Start B3 should show 08:00 That should give you some confidence :)
  17. plantj

    Tab Order In Excel?

    Format the "user" cells with Protection not Locked then set Protection on for the sheet. Tab will then cycle through the user cells. Unfortunately (perhaps) Enter will not work this way.
  18. plantj

    wtf, a simple tsql if isn't right...

    Does the code work outside of a procedure? ie does this run declare @p_loan_number varchar(10) select @p_loan_number='89' --try a valid number here SET NOCOUNT ON IF (SELECT dbo.t_loan.loan_number FROM dbo.t_loan WHERE dbo.t_loan.loan_number = @p_loan_number) is null BEGIN select...
  19. plantj

    Adding time in Excell

    Type 27:42 into a cell. Then format the cell as [h]:mm. Does that work at least :)
  20. plantj

    Adding time in Excell

    Try [h]:mm

Part and Inventory Search

Back
Top