To Find The Power ( I.e. ^ N) When You Have Other Variables

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


ADVERTISEMENT

Excel 2010 :: How To Get Power-query And Power-pivot

Jun 28, 2014

How to get Power-query and Power-pivot for Excel 2010?

View 9 Replies View Related

Find (Using Find) Using Variables With Or Without Quotes

Sep 2, 2009

In the code below Dim "x" is a string, the string may or may not contain quotes ( "" ). I might search for a string like this:

The big brown fox
or like this:
The "big" brown fox

I just found out the string can not be found when it contains quotes as in my second example.

View 4 Replies View Related

Loop Find With Variables

Nov 22, 2011

I have a process where I need to search for multiple customer numbers and delete line associated with them.

My question is how do I create this process to run in a loop going through all 10 numbers?

View 1 Replies View Related

Find First Value Greater Than X In Given Range Using Variables

Mar 3, 2014

My data has a bunch of near 0 figures followed by values I actually need followed by more irrelevant 0's than once again followed by values I need and again irrelevant 0's. Looks like

0.1
0.12
3.2
3.4
0.1
0.3
4.5
4.2
0.3
0.11

but with many more rows and numbers. I'm graphing the start and end values before/after zero's.

The first block of numbers I figured out using

=MATCH(TRUE,INDEX($C8:$C150>1,0),0)+7 I then index from that given row.

The span of relevant values I'm looking for constantly changes, so once my numbers deviate too much I stop, using another index formula.

Now for finding my beginning and end points for the next block of data I've combined using VBA with excel formulas. I can't quite figure this part out. I've created Variables for ranges and then used them to find max and min Values.

Public Sub RunCurrent()
'
' RunCurrent Macro
Dim upEnd As Integer
Dim dnStart As Integer
Dim dnEnd As Integer

[Code] ........

View 2 Replies View Related

Find Value With Multiple Variables And Change Value In Other Column

Jul 3, 2014

Please see attached example book.

In it I want to change name "G" in column A to "X" in column C.

And I want to do it for month of May in column B.

So a match won't do the trick because Name G is in 3 times so it should match on G and May from columns A and B.

How to catch this in a simple VBA line?

View 3 Replies View Related

Find Correct Data Based On 2 Variables

Oct 19, 2006

I have a project that looks at a table of train schedules for a range of dates. The data is formated so that arrivals and departures are on the same row but differnent columns. The dates are to the right and the grid is completed with the number of arrivals for a paticular day. I have created a formula that looks at the data and returns the arrival time for that date. It worked fine until the schedule was altered so that the same train could arrive at 2 different times on 2 different dates. So train 976 arrives at 4a on some days and 5a on others. In the example Ihave posted train 976 has 2 passengers arriving at 5a but the formula shows 4a. Is there a way I can have the formula return the correct time based on the day of the month? I should point out that the same problem could exist for departures.

View 8 Replies View Related

Combining HLOOKUP AND VLOOKUP To Find Solutions In A Matrix Using 2 Variables

Oct 28, 2009

This was a snap in Lotus. Unfortunately, the VLOOKUP and HLOOKUP formulas don't translate to Excel on conversion. I need to estimate the weight of reinforcing steel in concrete based on 7 different sizes of rebar and spacing of the bar between 1" and 24".

I have created a matrix(lookup table) with the bar spacing listed in decimal equivilents in feet on the top row.Inthe row below, I have numbered the columns from 1 to 24. the next row is blank. Along the left side of the matrix, I have listed the bar sizes 3 thru 10. Within the table I have listed all the bar weights/SF of concrete. IE if the slab has 1 mat of #5 rebar spaced 6" oc. If you look in row 7, under column 6, the weight of weight of the bar in that sf of concrete is found. In the part of the worksheet where the caculations are performed set up as follows:.....

View 4 Replies View Related

Tan To The Power Of Minus 1

Dec 10, 2008

How can i produce "tan to -1 " in excel ?

View 9 Replies View Related

More Sheet Power

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

Nested IF Formula (If Value In Cell R5 >0 Then Get The Value In Cel X29 On Power 4)

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

Type Numbers To The Power Of Number?

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

Mathematics - Power Trend Lines?

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

Copy Tables Into Power Point

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

Copying Selections To Power Point With VBA

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

Combination Of Pairs, Power And String

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

Power Pivot Chart With Stacked Column

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

Using Power Query To Do Multiple Searches On Website?

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

Selected Range To Power Point Kinda...

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

VBA To Save And Close Power Point Presenation

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

Suspend/hibernate Sheet To Free Cpu Power

Apr 28, 2007

how to suspend/hibernate some specific sheets in one workbook , to free cpu power?

View 5 Replies View Related

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 View Related

Lower Screens Brightness To Save Power When Desired

Feb 21, 2012

Have a system that runs 8 monitors on one computer. 4 are very large screens. Creates a lot of heat and uses much power.

Is there a way to dim the screens brightness in VBA. Looked all over and can't find any code.

Not really looking for a screensaver as they can cause interrup problems etc if I have programs running for hours. And I can't just turn off some screens as then desktop icons placements get scrambled.

Just want to dim screens with a macro, then undim it. Don't need to have it linked to the mouse movement, but that might be nice too.

I tried a macro that said "Dim MyScreens" but nothing happened.

View 8 Replies View Related

VBA Code To Configure Windows Power Management Settings

Jun 25, 2009

Is it possible to modify the windows power settings in excel vba. I have this example, but it doesn't do anything.

Sub testPOWERCFG()
CreateObject("WScript.Shell").Run "POWERCFG /CREATE Custom1", 0, False
CreateObject("WScript.Shell").Run "POWERCFG /CHANGE Custom1 /monitor-timeout-ac 15", 0, False
CreateObject("WScript.Shell").Run "POWERCFG /CHANGE Custom1 /monitor-timeout-dc 10", 0, False
CreateObject("WScript.Shell").Run "POWERCFG /SETACTIVE Custom1", 0, False
End Sub

I need some code to create and activate a scheme whereby everything is on and also some code to revert back to the default settings on the machine.

View 3 Replies View Related

Excel 2013 :: Power Pivot Summarize Value By Category From Total?

Apr 17, 2014

Using Excel 2013.

Trying to create a Calculated Column in a table to put Expense in 1 of 4 categories

I came up with =CALCULATE(sum([TotalExpense]),FILTER(factExpense,factExpense[ExpnseType]="Sundries"))

But that is returning total instead of a total for each record What did I miss?

This works for the first Calculated column: =CALCULATE(sum([TotalExpense]),FILTER(dimExpense,dimExpense[Type]="Sundries"))

But as soon as I copy the formula to the next column and update the type to "Wines_Spirits" I get

A circular dependency was detected

Found the answer on SQLBI website I added a unique id to each row and in Table Behavior in the Data Model set the Unique_ID as the Row_Identifier

[URL]

View 1 Replies View Related

Unzip Code - Works Without Variables, Breaks With Variables...

Feb 5, 2009

Unzip Code - Works without Variables, Breaks with Variables.... This has been driving me bananas...

I have the

View 2 Replies View Related

Excel 2013 :: Power Pivot DistinctCount If Another Field In Table Is Greater Than Zero

Apr 21, 2014

Using Excel 2013.

I am trying to get DistinctCount from a field if another field in the same table is greater than zero.

PowerPivot DAX -COUNTIF

[Code] .....

The count returned includes all not just values greater than zero. How can I get just values greater than zero?

View 1 Replies View Related

Create Report Using Power Pivot While Creating Relationship Between Linked Table?

Apr 24, 2014

I want to create a report using power pivot while creating the relationship between the linked tables, power pivot is throwing error "The relationship cannot be created because each cilumn contains duplicate values. Select at least one column that contains only values"

View 1 Replies View Related

Forcing Excel To Show Numbers In Scientific Notation To A Constant Power?

Mar 8, 2013

I need to have all of my number be "x10^-6", but Excel wants to make them, for instance, 7.66x10^-3, when I need it to read "7660x10^-6". How can I force excel to do this?

View 3 Replies View Related

Function Back Variables: Function Give Two Or More Output Variables

Jul 27, 2006

Can a Function give two or more output variables. e.g.

Sub a()
x = 5
result = Y(x)
End Sub

Function Y (x As Integer) As Integer
Dim B
B = ... * x
Y = ... * B

this will give back Y as a result. But if I want to get 2 or more output variables (let's say I need to get also B into sub) from one function, how should I do that?
I need this because function works with large matrix and I want to extract some values appeared in between.

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved