I need some help applying background color when the share point list is modified.
I’ve flow if any item is modified in the share point list, then I will add that item into a new excel file. This is working fine please refer flow below.
if suppose a user has modified ID1 (4) status column = “fail “ then I want to be highlighted with some color in my excel file automatically.
Example excel output am looking for:
Sharepoint list:
MS FLOW:
Related
I am working with a Table inside of excel. I would like to have it so the number documents in the table are hyperlinks back to my file folder.
I am finding that the Hyperlink formula will not work in the table. Using the same formula outside of a table it seems to work.
I have the below formula in the hyperlink link_location:
=LEFT(CELL("filename",A1),FIND("[",CELL("filename",A1))-1)&
INDEX(Sheet2!$H$3:$I$19,MATCH(LEFT([#Number],1),Sheet2!$H$3:$H$19,0),2)&
"\"&[#Number]
In the above code;
The first part of the code identifies the file location.
Index in the code returns the name Processes for P for the Number (P009).
Returns: R:\Integrity Management\2. Document Control Management\Processes\P006
Error window coming up says: Cannot open specified file.
Ultimately it would be great if the "Number" items would hold the hyperlink instead of a separate column.
Current table set up
Not sure why. The links are currently working as intended today. If anyone has a reason why this issue occurred please let me know.
I am wondering if there is a way to paste a list of values (e.g. well ids) into the Spotfire Analyst's (and Web Player's) filter search box? I am new to Spotfire so not sure if that can be achieved through a custom extension or script. Basically this is what I am trying to achieve:
I copy some values from Excel spreadsheet
I open Spotfire Analyst and look for the appropriate filter on the right
I pates the content of my clipboard into the filter’s search box
Custom logic (if that’s possible?) makes sure to find the appropriate results from the filter’s list and selects them automatically
All charts on our page are updated and we see the results from step 4
Please note that the solution needs to work on both the Spotfire Analyst and Web Player.
We work around this by using multi-line input text boxes. Once a user pastes in a multi-line set of text values (separated by space, comma, new line, or whatever) this string is passed to a data function, which creates a table and writes that back out. Then the two tables are related on a common key, which acts as a filter for the original table.
PasteAPIListTable <- data.frame(API = unlist(strsplit(PasteAPIList,PasteAPISeparator)))
I have an excel file that I need to read into Power BI. Unfortunately I have no control over this file as its auto generated from another person.
Some of the cells in this file are just filled with colours and I want to be able to translate these colours when importing the data into Power BI.
For example if the colour is green in excel then show true in the corresponding power BI cell. At the moment it's just blank.
Does anyone know of a way to get cell "meta" data like colour from excel in Power BI?
Don't give up just yet...
I found an example that works in a roundabout way using Power Query in Excel. It will give you the meta data associated with each cell by its address (e.g. A1 is highlighted with color FFFFFF00). I relied on some Excel functions to associate the highlighted cell addresses with the cell values. Pulling the cell data with Power BI might take some additional work.
The technique is to use Power Query to open the Excel .xlsx file, which is basically a .zip file containing .xml documents. The color information for each cell can be extracted into a table. From there I was able to use INDIRECT() statements to read from the .xlsx workbook and extract the values from the colored cells. It worked quite well for me.
You can find a working example in the forum in the link below. The user defined DecompressFiles function in the sample uses the Binary.Decompress command to access the XML files within the .xlsx file.
https://www.excelguru.ca/forums/showthread.php?7047-Extract-Cell-Color-with-M&p=28875&viewfull=1#post28875
In my situation, I had a database export of about 7,000 rows and 50 columns into Excel. Working offline, users then went through Excel and made changes, highlighting every cell they had changed. Then they wanted me to update the database with only the highlighted cells. The background color used by each person varied but I didn't care what the color was, just that it was colored.
For each changed cell I was able to generate SQL statements to update the database and also insert into a transaction log table. The main database table was mostly flat but the few foreign key lookup values that were modified I had to update manually.
Column F uses the Indirect formula to pull data from the source workbook. Note that the source workbook must be open for the Indirect formula to read from it.
=INDIRECT("'[" & Import_Filename & "]" & Sheet_Name & "'!"&[#[SheetCellRef.2]])
Column G refines the data in Column F by putting quotes around strings or NULL if the cell is blank.
Column H grabs the column heading to know what field to update.
Column K grabs the Record ID value from the row specified in Column E.
I have had to run this process three different times for the users so my time invested paid off quickly. All I have to do is put their latest highlighted Excel file in the local folder and refresh the Power Query to generate new SQL statements.
Sorry I don't have a 'solution' posted right here. The process is still a little fragile and I'm trying to make a more robust example I can share. Stack Overflow doesn't seem to be set up for ongoing development of a solution. The point of this answer is to give hope to some of you who are desperate for a solution and won't take 'No' for an answer.
Sigh.
Color is not data. Unfortunately, many people color-code cells and then expect to be able to do things based on the color of the cell. But it's not that simple.
Although Excel now provides some ways to filter by cell color, it still cannot identify cell color with a worksheet formula.
Hence, you will need a VBA routine that evaluates all cells and records their colors in another table, which you will then need to push into your Power BI data model.
In the long run, it might be easier to talk to that other person who produces the color coded cells, and teach them a better way of doing things. Show them how to use conditional formatting based on cell values for color coding. The logic used for conditional formatting can also be applied to classify the data in Power BI.
From a data architecture point of view, the best solution is to address the problem at the source, instead of creating tools to handle bad data input.
Just sayin'.
I'm trying to automate the addition of a link to a report in OneNote. Basically, I have a already running macro producing a daily report in VBA Excel and saving a values only copy in a given folder. I would now like to add to the code so that an hyperlink is created in OneNote so the end-user may access the values-only file by cliking on that hyperlink.
I've found a piece of VBA code that creates a new page in a Notebook on Microsoft webpage: Create New Page
I have modified the code so that it'll go to the Notebook, Section and then Page I tell it to. Then I can have VBA it fetch back the PageContent through XML format.
Now here's the thing: I have a table for the month that starts only with one line two columns ie. the headers (report date and link). Now everyday, I wish to add a line to that table before writing the day's date and the link.
How would I do that in OneNote with VBA Excel ? Is it possible ? Or would I need to change to VB or C# to be able to use Office-InterOp to do so??
If I manage to create an extra line, I think I'd have no problem finding the two empty cells and writing the date and an hyperlink.
Can someone please help?
thanks
Sebastien
After you get the page content in XML format, you just need to modify it to include the Table (or add new rows/cells to it and then call UpdatePageContent. Here is a sample page XML that has a simple Table:
<one:Page xmlns:one="http://schemas.microsoft.com/office/onenote/2010/onenote">
<one:Outline>
<one:OEChildren>
<one:OE>
<one:Table>
<one:Row>
<one:Cell>
<one:OEChildren>
<one:OE><one:T><![CDATA[Cell1]]></one:T></one:OE>
</one:OEChildren>
</one:Cell>
<one:Cell>
<one:OEChildren>
<one:OE><one:T><![CDATA[Cell2]]></one:T></one:OE>
</one:OEChildren>
</one:Cell>
</one:Row>
<one:Row>
<one:Cell>
<one:OEChildren>
<one:OE><one:T><![CDATA[Cell3]]></one:T></one:OE>
</one:OEChildren>
</one:Cell>
<one:Cell>
<one:OEChildren>
<one:OE><one:T><![CDATA[Cell4]]></one:T></one:OE>
</one:OEChildren>
</one:Cell>
</one:Row>
</one:Table>
</one:OE>
</one:OEChildren>
</one:Outline>
</one:Page>
This is my first question and it would have been nice to include an image but it seems that I can't. I have seen some answers to my problem but they always seen to be in one direction. Excel->Word. However I want Word->Excel->Word as described below.
I have an excel workbook that draws a graph. Some of the input data is pre-calculated and one or two parameters are entered manually and entered in a table in the spreadsheet.
I want to do the following.
The graph and the data entry table are to be displayed in word. The table in Word is also part of the spreadsheet but must be displayed separately. I want to be able to enter the variables in the table in the word document. These values are linked to the excel sheet, the graph will be changed and the actualised version displayed in the word document. I have attached two images, the data entry able. The entry fields are those in green and an image of the resulting graph. Any help would be appreciated.
I can't see your pictures, so the following is theoretical.
1) Open Word
2) Insert Chart - this opens a instance of Excel which is directly linked to the Chart, which I'll refer to as ExcelChartData to avoid confusion.
3) Edit the range in ExcelChartData to match what you have in your Excel data workbook.
4) Link the ranges in ExcelChartData to the required ranges in your Excel data workbook.
Changing the values in your Excel data workbook will then change the chart.