Fill Chess Board Matrix To Power Of 2
Jun 3, 2007
i would like to write vba to fill a "chess Board" Matrix (8X8) With Powers Of 2...
starting with 2^0 and ending with 2^63...
(i suppose, click a button/icon and have the numbers fill in/populate...)
View 2 Replies
ADVERTISEMENT
Dec 24, 2013
I am trying to create a form in excel that simulates a chess board, the code was quite extensive so I better separate it into modules, because the program suddenly began to close, how do I do that? being that I have all the pieces of a chess game and some strings and boolean variables with information on the positions of the pieces on the form?
VB:
Private Sub A1_Click()
If Turn_Player1 = True Then
If Active = "Pawn_pr1" Then
If Loc_Pawn_pr1 = "A2" Then
[Code] .....
View 1 Replies
View Related
Jun 28, 2014
How to get Power-query and Power-pivot for Excel 2010?
View 9 Replies
View Related
Mar 28, 2008
I have a particular problem to solev. I am an average Excel user with no VBA experience, so. I want to construct a matrix with 72 columns and rows filled with symetrical values eg
1 2 3 4 5
1 0 5 7 8 1
2 5 0
3 7 0
4 8 0
5 1 0
etc
I have a CSV file with the values in the form of {column},{row},{value} eg 5,70,8. how to get these simply into Excel? This is not a one-off operation, the text file is an export from AutoCAD and will be run fairly frequently, so doing it manually is not an option!
View 6 Replies
View Related
Jan 16, 2008
I'm trying to write a sub function that when called will search left to right, top to bottom for the first empty cell in a 4x4 grid and insert a timestamp.
I've generated a large bulky bunch of code that seems to do the trick but I'm not terribly happy with it...
View 4 Replies
View Related
Aug 26, 2007
I have a data chart on 200 people with overlapping membership in 20+ groups, represeted as binary (1=member, 0=notmember), for example: ...
View 9 Replies
View Related
Aug 22, 2008
Using VBA, I wish to work out the inverse matrix of a large matrix (100*100), but keep getting the # Num! Error. I am using the minverse function. I have defined variable as "variant", does this give me the same possiblities in terms of number size as the variable "Double"?
View 9 Replies
View Related
Oct 8, 2011
How do i share parts of my spreadsheet on the board?
View 1 Replies
View Related
Nov 5, 2007
I run the company office pool / lottery. A person selects 6 numbers 1-49. Twice a week the provincial draw is held. if your number matches the drawn number i would highlight your number on the spreadsheet. When all of your numbers are highlighted, you win. This usually takes 3-4 draws to cover all your numbers. Ideally i would like to simply enter the drawn numbers & have excel automatically highlight the number next to each persons name if they have selected that number.
View 9 Replies
View Related
Aug 7, 2009
I am organizing a golf scoreboard for my golf tournaments. Basically, this is what I want to do:
I would like to rank the players that are entered by their score, in ascending order. Basically, I want to take the column for "total strokes" and organize the numbers so that it will rank the numbers that are entered. If there are no numbers entered in a specific row, I don't want that "zero" to be ranked in the list. So for example, if I have five golfers but they are spread out over 10 rows, I would still need to have five numbers in the rank: 1,2,3,4, and 5, not 1 to 10, as if it were ranking the rows that have nothing entered in them.
This is how it will look:
Johnson - Strokes : 70 - Rank :1
Williams - Strokes : 75 - Rank : 3
Patterson - Strokes : 72 - Rank : 2
View 9 Replies
View Related
Jul 15, 2007
I would like to create a new more effective quick staffing board for work.
Name Start Time Finish Time Break Allowance Break Time 8 (then time period from 6 till 2300
BUT when I enter say a shift of say 09:00 17:00 I need this time period to block out on the board, hard to explain ...
View 14 Replies
View Related
Dec 17, 2013
I am trying to create a simple dash board using only Excel and no VBA. What I am trying to do is I want to create dependent drop downs and link up drops downs that will pull out the required data individually or with combination of those two. For example, let's say
A column has Dates of transaction,
B column has Item name
C column has Units
D column has Month name
E column has Shifts (Morning or Evening)
I am trying to make a dash board that will pull total Sum of individual items based on
Only Date wise
Datewise + shift wise
Month wise
monthwise + shift wise
I managed to create drop down list for dates, months, and shifts but i dont know the way how to link the individual drop down lists together to pull the data based on the selection. which function i should use here and how?
View 5 Replies
View Related
Jun 3, 2013
I am looking to copy a simple board game in Excel
Basically it would be a simple race. Containing 4 counters (blue, green, red and Yellow) and 10 squares each.
There would be 40 cards 10 blue, 10 green, 10 red and 10 yellow. Cards would be draw randomly and the counters move respectively. I would be thinking about starting with =RANDBETWEEN(1,10).
I have no knowledge of VBA/ macro but would welcome ideas with what formulas/ commands to use.
I have added some snapshots to show what I would be looking for.
[URL]
View 4 Replies
View Related
Aug 25, 2013
I'm making a custom BINGO board in Excel 2010 for a family reunion, so it doesn't contain numbers; instead it has words (like "has brown eyes" or "served in the military"). the first sheet is the board and looks like a traditional BINGO board with the same number rows and columns with a center FREE space. On the second sheet is the list of all the phrases I'm going to use, one phrase per cell, all in Column A.
In BINGO cells, I want it to use one item (phrase) in each box but NOT repeat within the board. I have the following code in each cell and it works EXCEPT, there is no code telling it to make each cell unique, so sometimes it may repeat.
=UPPER(INDEX(ColumnA,((RAND()*(Data!A1-1))+1),0))
View 8 Replies
View Related
Mar 21, 2014
For a table like the one below produced for the sake of example (actual is much much bigger) I want to make it list rows that are true for a certain column for a certain variable in the matrix. So for say water terrain, which types of activity can I do i.e. swimming. Or for Offroad the activites which I can't do i.e. Run and Swim.
ActivityWaterRoadOffroad
Jog nym
Run nyn
Walk nyy
Swim ynn
y=yes
n=no
m=maybe
View 10 Replies
View Related
Dec 10, 2008
How can i produce "tan to -1 " in excel ?
View 9 Replies
View Related
Jun 27, 2006
im building a fairly intricate workbook at the minute but it is starting to slow down significantly lately as ive added more fromula's and sheets. I was hoping to make it even bigger but it looks like i might be stoped in my tracks. I have a reasonaby powerful computer and excel 2003. Does anyone know a way i could increase the capacity of this one particular workbook as it will be used by many people to enter data daily.
View 3 Replies
View Related
Mar 12, 2009
To find the power ( i.e. ^ n) when you have other variables.
Mathematical Perspective as well as through EXCEL..
Ex: 5^n = 125
We know that 5^3 = 125,
Now if I have been given the value 5 and 125 , then how do i get the answer 3 ( i.e ^ n) value...
I need to solve a slightly complex issue and therefore need help for the above requirement as well as to get the "n" value..
View 14 Replies
View Related
Apr 29, 2013
Below there are all the information needed to understand my problem.
M(1 to R,1 to C): matrix with R rows and C columns [element known]
M(i,j): elements of the matrix M in position i(row)-j(column) [element known]n
View 3 Replies
View Related
Jan 12, 2010
I am trying to do a nested if formula but I can't get it to work.
The condition is: If value in cell R5 >0 then get the value in cel X29 on power 4.
=IF(R5>0,POWER(X29,4)
View 2 Replies
View Related
Jul 14, 2002
how can I type numbers to the power of something Say 12 to the power of 3. I want the 3 to be smaller and up off the line is that possible
View 3 Replies
View Related
Jan 23, 2014
I am trying to fit a cooling graph with a trendline and I have found the power line to fit the best, as well as corresponding with Newton's law of cooling. However, I am not savvy enough to discuss how similar or dissimilar the two equations are!
the resulting equations from two different curves are as follows:
y=4305 x^-0.87733
y=4025 x^-0.91004
both fits have an R^2 of 0.996.
I am analyzing two scenarios of cooling the same object with three variables, one intended (the extraction of energy using water flow in one case, and no extraction in the other) and the others not under my control: different starting temperatures and different ambient temperatures. I need to understand if these are generally the same curve, or how very different are they? is there any statistical way to represent their relationship?
View 5 Replies
View Related
Apr 25, 2008
I have a question about coping table from exel into ppt, is this posible or not,
PS: i just need to copy a specific range of cells ex. A1 g17 into a slide in pp.
View 9 Replies
View Related
Feb 23, 2009
I am trying to write a routine (via two comboboxes) that will enable users to select a choice of charts from one of three possible worksheets and have the charts on the selected sheet copied to PowerPoint. My difficulties are these:
a. I cannot determine how to pass the selections to Excel (see b. as well)
b. In some instances my charts are actually groups of a chart and a picture. how I should reference these? They are obviously not ChartObjects: when I use the macro recorder all I get is a range.
View 9 Replies
View Related
Aug 8, 2006
I have a string of n pairs and want to check various combination of that string.
Example: Pairs 58 78 15
Since I know I have 3 pairs (but it can be 2 or 4), I know the number of combination I want to test, ie 2 power 3 = 8 combinations. How can I program a code creating the various strings, ie 587815, 587851, 588715, 588751, 857815, 857851, 858715, 858751 ?
This is what I have so far (not much):
Public unique_pair 'number of pairs provided by another macro
Public mystring 'provided by another macro
Sub make_guess()
Dim number_of_combination, i
number_of_combination = 0
number_of_combination = 2 ^ unique_pair
For k = 1 To number_of_combination
'how to generate the various string ????
Next k
End Sub
View 9 Replies
View Related
Jul 30, 2014
I have created a Power Pivot Chart with Stacked Column chart. Made one axis as Secondary Axis and the axis is Clustered Column, but it is overlapped with Stacked bars.
Is there any easy way to solve this issue, apart from creating 2 dummy columns and making it work.
View 3 Replies
View Related
Jul 10, 2014
I've been trying to get power query to search a list of parcel numbers on an assessor site: [URL]. The problem I'm getting, every time you put in a different parcel number, you get the same URL for the results. I want to extract just a few pieces of information for each parcel search, but I can't initiate a search through excel. I'm thinking the problem is in the Data source settings. How can just get it to show me the assessors page results for a single parcel search in excel?
View 5 Replies
View Related
Oct 7, 2008
I need to be able to send my selected range of cells (to include: the spreadsheet background, colored cells and all values contained) to Power Point for a daily product. I found this great VBA online and would like to use it but the problem is I keep getting funny results. It doesn't matter what cells I select I keep getting a extra margin on the left side and top of the pasted product in power point. I then have to crop the results... I have looked at the macro (from my noodie eyes) and cannot seem to find a way to adjust this added on margin.
View 5 Replies
View Related
Oct 16, 2009
I am using the following code to Open a presentation, and run a macro. Everything works fine, but I would like it also to Save the presentation and Close it.
View 7 Replies
View Related
Apr 28, 2007
how to suspend/hibernate some specific sheets in one workbook , to free cpu power?
View 5 Replies
View Related